-
Notifications
You must be signed in to change notification settings - Fork 13
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
guests whitelist not always respected #517
Comments
With PR #518 this is working OK. |
After only setting 'settings' in the whitelist, several problems arise:
|
There is https://github.com/owncloud/guests/blob/master/lib/AppWhitelist.php#L33
What is the requirement? Maybe there is a requirement that the admin can prevent guests from doing any resharing, from creating public links etc. - the admin requires that guests cannot do any new sharing actions. But guests should be able to see and work with the resources that are shared with them? IMO sorting out some more specifically-defined requirements will need to happen in the future. In practice, to be useful, an admin needs to always put |
Great findings, Gerald. Thank you! |
After adding files_sharing and files_external the functions work again. No blocker from my side However, we should possibly write in the admin docs that it does not make sense to disable the apps setting, files_external, files_sharing and files trashbin for guest users. This is especially important for files_trashbin, because if this has been removed from the white list, a guest user can delete files directly without loading them into the trashbin of the owner. |
Steps to reproduce
The whitelist is set to just "settings" so that guest users should just be able to see
2. Create a guest user, login as the guest user
Expected behaviour
When opening the details for a file, there should not be any Sharing, Tags or Versions panels.
There should not be any option to "create a new textfile", because files_texteditor is not whitelisted.
Actual behaviour
It seems that some apps themselves respect the guest whitelist, but some core UI elements still appear. And other apps, like systemtags do not respect the whitelist at all.
Server configuration
Current core master and latest master of guests, files_texteditor etc.
The text was updated successfully, but these errors were encountered: