-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public link password capabilities support #2228
Comments
This is not blocked any more, moving it to Backlog so can be prioritized and included in a milestone |
Note: discussion here also about the password policy app exposing more detail in capabilities of what is required for a valid password The capabilities here would still be the same, so not a blocker for implementing this bit! I am just posting here so people are aware that more password capability details might come... |
@jesmrec Is this feature still required? |
yes @SD1998. Before the feature elaboration, support of the capabilities etc... we should discuss about the UI look to show (check the webUI is a good point to start) |
@jesmrec I am unable to check the web UI as am unable to access owncloud-server hosted from docker due to some issues in my system could you suggest an alternative way to access the UI? Thanks. |
Maybe https://demo.owncloud.org/? But I would recommend you to try to fix you docker issues as well, sometimes is tricky but worthy 😄 |
@SD1998 was you able to check the info? if not, i can ellaborate and paste you some screens about the feature. |
@jesmrec I could not find the UI corresponding to this(when talking about password capabilities we are talking about the ability to set password for different actions(read, write or upload) on a file or directory while sharing right?). A little ellaboration would be helpful. Thanks. |
You can find the capabilities in the server admin dashboard, Sharing option: Depending on the values selected there, in the capabilities request will be sent the values as i posted in the first message. In the app: the point is that the link for folders is not created till the password is typed in case it is enforced. The behaviour till now is that password was unique regardless the permissions. Any question you have, please ask :) |
Not sure if I have misunderstood what is needed here but after checking the current Android app behaviour, it is currently doing the same as Web UI - "Web UI does not allow to save the public links if the option selected has the password enforced".
Maybe I'm missing something? @jesmrec @michaelstingl
How do you set different passwords in the web UI depending on the permission selected? Can not find it.
Yes, this could be included additionally but still think that the main behaviour requested in this issue is already implemented. |
https://marketplace.owncloud.com/apps/password_policy needed? |
@pmaier1 Could you explain the ownCloud server behaviour and what's missing in the iOS app? |
The only solution for this problem is displaying/showing dinamically the I mean, if you enable one of the three capabilities to handle the password protection (f.ex., for Read-only), the label |
So the support is already implemented and just the * improvement is pending. If so, I would rewrite the issue name and description since now it sounds like something bigger and more complicated |
In order to set the * is needed to fetch the capability |
Other approach is removing the * and when the password is enforced and not typed, a message error is shown. Core works in this way. Personally i do not like the core approach so it is very generical... splitting the capability allows us to show more accurate messages. |
Yes, you're right, if we want to show the * in advance we have to persist the capability somewhere.
Do you mean like the scenarios I included in #2228 (comment)? If so, that's why I thought the support was already included, because without the *, the app is doing exactly the same as web UI.
They use the messages that come from the server, same as we do and are too generical, yes. To sum up, I still do not understand for which purpose are the clients (web for example) using the |
The purpose is that each kind of permission has its own password enforcement. Web does not take advantage, but it does not use the capability as the mobile clients does either (they do not get the JSON file). For example, web client never showed "*" in case of enforcement. Mobile clients did from scratch. The only aim of this issue is the one explained here: #2228 (comment), assuming that the web does not behaves in such way. |
Done and merged |
Currently, we deal this capability for public links:
It was splitted up, and core versions from 10.0.9 will include:
Web UI does not allow to save the public links if the option selected has the password enforced. Other option (cooler) is setting dynamically the
*
to mark the field as mandatory.To develop after 10.0.9 and #2150
Related: owncloud/core#31494
The text was updated successfully, but these errors were encountered: