nextcloud-server/apps/files_sharing
Ferdinand Thiessen ee5f5bc159
fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +07:00
..
appinfo fix(sharing): add command to fix broken shares after ownership transferring 2024-12-12 07:15:50 +07:00
composer fix(sharing): add command to fix broken shares after ownership transferring 2024-12-12 07:15:50 +07:00
css fix(files_sharing): note icon color on public pages 2024-11-08 14:12:41 +07:00
img
js fix(files): Add empty alt text to purely decorative icons 2025-01-17 15:42:15 +07:00
l10n Fix(l10n): Update translations from Transifex 2025-01-29 00:22:21 +07:00
lib fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 18:21:26 +07:00
src fix(files_sharing): Only clear permissions of pending federated shares 2025-01-31 08:19:16 +07:00
templates fix(files_sharing): show proper share not found error message 2024-08-06 16:25:10 +07:00
tests fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 18:21:26 +07:00
.l10nignore
openapi.json fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 18:21:26 +07:00
openapi.json.license