Uh oh!
There was an error while loading. Please reload this page.
Consider admin defaults when creating shares - #43024
Conversation
f09aea3 to
e8ff76fCompareUh oh!
There was an error while loading. Please reload this page.
nfebe
commented
Jan 25, 2024
Something else that has come up while working on this in relation to maintaining "Allow editing" and "Default permissions"
So, the brainstorming is not over it seems, the second path, is simply to add "Default permissions" as a new option IF it is different from READ only ( |
nfebe
commented
Jan 25, 2024
cc: @jancborchardt |
jancborchardt
commented
Jan 25, 2024
As far as I can see, the issue reported at #42835 should be fixed via code and does not need a new entry in this list of presets.
But we should not replace an entry of those with "Default permissions" or anything like that. |
nfebe
commented
Jan 25, 2024
Sure, it does not necessarily need a new entry in the list of presets. But definitely needs making changes to how the presets work to avoid confusion. Adding another option or updating language are just other solutions paths suggested. So the new implication is that "Allow editing" is not always the selected/default option as is the case now. It would be dynamically selected. The only difference between this and my last suggestion is that no new entry would be added. To mitigate the issue of clearly understanding what default permissions are, I think it would be nice to have a way for the user to know that whatever permission was pres-elected for them is the default. This can be done by simply adding something like |
8e3a248 to
db03ac1CompareUh oh!
There was an error while loading. Please reload this page.
4a4c59c to
388fd55Compareeed249c to
0662682Compare0662682 to
cd58945Comparenfebe
commented
Feb 1, 2024
/compile / |
susnux
commented
Feb 1, 2024
CI is a bit slow at the moment due to 28.0.2 release I guess, you could short cut by compiling locally and submit the assets. |
The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL` which includes everything. This commit updates share creation logic to use `defaultPermissions` if set by admin for the creation of new shares. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
- Remove redundant initial state added - Call `getCapabilities()` in share config file. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
bde1408 to
9cff27bComparenfebe
commented
Feb 1, 2024
/compile amend / |
Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
9cff27b to
f944d26Comparenfebe
commented
Feb 1, 2024
PHP unit failures unrelated. |
nfebe
commented
Feb 1, 2024
/backport to stable28 |
nfebe
commented
Feb 1, 2024
/backport to stable27 |


The current share logic always uses the default
BUNDLED_PERMISSIONS.ALLwhich includes everything. This commit updates share creation logic to usedefaultPermissionsif set by admin for the creation of new shares.Resolves: #42835