nextcloud/apps/files_sharing
fenn-cs 481f5bba81 Correctly switch/revert from custom to bundled perms
We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

Resolves : https://github.com/nextcloud/server/issues/40431

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 13:48:54 +00:00
..
appinfo add command do delete orphan shares 2023-07-10 11:26:32 +00:00
composer add command do delete orphan shares 2023-07-10 11:26:32 +00:00
css Compress SASS output 2023-01-11 17:46:32 +00:00
img fix(assets): Optimize SVGs with scour 0.38.2 2023-04-24 08:59:38 +02:00
js fix(files_sharing): Allow file actions other than download for hide download shares 2023-03-13 12:51:48 +01:00
l10n Fix(l10n): Update translations from Transifex 2023-09-15 00:26:46 +00:00
lib Enfore allowPublicShares admin setting 2023-09-13 10:18:08 +01:00
src Correctly switch/revert from custom to bundled perms 2023-09-15 13:48:54 +00:00
templates make sure to show download button only one time 2023-06-14 15:35:01 +02:00
tests cleanup di for share permissions wrapper 2023-09-04 14:13:57 +02:00
.l10nignore Remove legacy build files 2022-01-11 17:16:05 +01:00
list.php Remove redundant events 2022-08-15 19:20:42 +02:00
openapi.json openapi: Fix wrapping OCS responses that are not DataResponse 2023-06-05 07:05:02 +00:00
public.php Update php licenses 2021-06-04 22:02:41 +02:00