-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Default share perms #28619
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
Default share perms #28619
Conversation
|
@felixheidecke any hint to make it look a bit more beautiful ? Since there is no main checkbox I thought maybe to just add a bullet there ? cc @pmaier1 |
|
talking about the "Default share permissions" section |
Capabilities are computed in js/config.php and stored in oc_capabilities and accessible under OC.getCapabilities() on the JS side. This is only exposed if the user has logged in.
9e5d9be to
a186fa1
Compare
Test planSet default perms in settings page to "can create" and "can update" only
|
|
Oh, legit test failures on Jenkins. It's been a while I haven't seen that: |
|
👍 for the code. We still need to check the failing unittests and the style |
|
Nice! Some UI feedback:
|
|
UI wise, I prefer the uncommitted proposed design, but at the bottom of the sharing settings |
@tomneedham they have swapped roles. The committed one is now the one with the aligned checkboxes on a single row. |
|
Adjusted according to @pmaier1's comments. |
|
stable10: #28903 (am optimistic about CI) |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |



Description
Default share permissions setting for local shares.
The default permissions are exposed via capabilities.
To make it visible to the JS frontend code, the capabilities are now added in "js/config.php" and accessible through
OC.getCapabilities(). This will make passing such config values more convenient in the future especially for values that other clients need.Related Issue
Fixes #28384.
Motivation and Context
See ticket
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: