-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Skip share_folder for guest users #40864
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
Conversation
Guest check should be the first thing to do. No need to get the "share_folder" config option for guests because we'll always return "/" for them regardless of the configuration. We probably should add some info in the "config.sample.php" file |
Applied suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny change and we're done
Just hooking myself in to see when merged to start a CTD run. |
Kudos, SonarCloud Quality Gate passed! |
Works - I added a test scenario in guests PR owncloud/guests#595 |
* skip share_folder for guest users * add changelog * appy suggestions * update config.sample.php * fix return * just return root
Description
In #40378 we've fixed the case of (not) moving the share target when the backend storage becomes temporary unavailable but we have now the collateral effect that guests do not see anymore their received shares as we are now forcing the creation of the target which will obviously fail for them as storage is read-only.
We now skip the
share_folder
config.php option for guests and default to root.Related issue
https://github.com/owncloud/enterprise/issues/5842
How Has This Been Tested?
Types of changes
Checklist: