0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-07 09:59:46 +00:00
nextcloud_server/apps/files_sharing
Ferdinand Thiessen 55b764b64b
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 22:18:03 +01:00
..
appinfo add command do delete orphan shares 2023-07-10 17:09:07 +02:00
composer add command do delete orphan shares 2023-07-10 17:09:07 +02:00
css Compress SASS output 2023-01-11 17:46:32 +00:00
img
js fix(files_sharing): Allow file actions other than download for hide download shares 2023-03-28 08:15:49 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-03-28 00:19:39 +00:00
lib fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 22:18:03 +01:00
src fix(sharing): store link expire date when enabling 2024-04-22 11:05:00 +02:00
templates make sure to show download button only one time 2023-06-14 15:04:35 +00:00
tests fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 22:18:03 +01: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
public.php Update php licenses 2021-06-04 22:02:41 +02:00