nextcloud-server/apps/files_sharing
Ferdinand Thiessen 2926fe270a 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-28 17:26:28 +07:00
..
appinfo chore: remove legacy action to test remote endpoint 2024-11-29 11:14:37 +07:00
composer fix(sharing): add command to fix broken shares after ownership transferring 2024-11-18 21:24:23 +07:00
css chore: Compile assets 2024-11-19 09:42:13 +07:00
img chore: Make app icons consistent Material Symbols with same settings 2024-07-10 15:53:45 +07:00
l10n Fix(l10n): Update translations from Transifex 2025-01-28 00:22:21 +07:00
lib fix(files_sharing): Respect permissions passed when creating link shares 2025-01-28 17:26:28 +07:00
src feat: Use redundant label for accessibility only 2025-01-25 12:33:02 +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-28 17:26:28 +07:00
.l10nignore chore: Add SPDX header 2024-06-02 20:00:00 +07:00
openapi.json fix(files_sharing): Respect permissions passed when creating link shares 2025-01-28 17:26:28 +07:00
openapi.json.license chore: Add SPDX header 2024-06-02 20:00:00 +07:00