-
Notifications
You must be signed in to change notification settings - Fork 187
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
Additional permissions for creating shares and favorites #7497
Comments
@micbar Any opinions on this? |
I understand the What about the favourites? Why |
From a Web perspective it's about marking files as favourite (= |
Ah you mean the "list-all-favourites" permission? That would be a new one IMO |
Just to be on the same page, should the use also not be able to see the favorite flag in the file list? Because that is difficult from a backend POV. We currently do not distinguish different metadata. |
No, it's about not showing the Favorite-navitem. The flag itself will never show when the user doesn't have permissions to mark files as favorite, so that's okay.
|
Yes. |
Sounds good! 👍 |
CERN would like to disable creating shares and favorites for their lightweight accounts. We figured it would be best to work with permissions here, as they offer maximum flexibility and could be a benefit for us as well in the future.
That would mean we need new permissions:
Favorites.ReadWrite
Favorites.List
Favorites.Write
Shares.Write
Also see owncloud/web#9381.
Acceptance criteria
Favorites.List
allows / denies the Favorites Listing RequestFavorites.Write
is implemented to be enforced on marking/unmark files as favouritesShare.Write
permission denies / allows sharing completely for a user on all share CUD requests. (User, Group)The text was updated successfully, but these errors were encountered: