0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-07 18:09:45 +00:00
nextcloud_server/apps/files_sharing/lib
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
..
Activity display displayname on federated shares 2023-07-10 10:57:26 -01:00
AppInfo fix(cache): Remove displayname cache entry on delete 2023-08-29 08:53:09 +02:00
BackgroundJob ocm services 2023-09-22 19:46:42 -01:00
Collaboration Fix various other small psalm issues 2022-10-17 12:40:35 +02:00
Command add command do delete orphan shares 2023-07-10 17:09:07 +02:00
Controller fix(files_sharing): Respect permissions passed when creating link shares 2025-01-31 22:18:03 +01:00
Event Emit event on link share action 2021-09-10 08:36:45 +02:00
Exceptions Update php licenses 2021-06-04 22:02:41 +02:00
External add more checks to ensure mounts aren't empty 2023-10-24 15:51:38 +00:00
Listener Move bundles to /dist 2022-01-08 10:11:58 +01:00
Middleware Update php licenses 2021-06-04 22:02:41 +02:00
Migration Adds a "Request password" button to the public share authentication page for shares 2022-04-11 21:58:24 +02:00
Notification fix(notifications): Remove share notification when the node is deleted 2023-08-04 08:07:04 +00:00
Settings Let users choose a share_folder 2021-09-06 16:39:11 +02:00
ShareBackend Update php licenses 2021-06-04 22:02:41 +02:00
Cache.php pass the share to the cache instead of having to ask the storage 2023-12-07 11:08:19 +01:00
Capabilities.php Fix type when getting appconfig with int 2022-10-17 12:36:05 +02:00
DefaultPublicShareTemplateProvider.php fix(sharing): Remove casting to int from INF 2023-02-07 14:13:39 +01:00
DeleteOrphanedSharesJob.php fix: only cleanup orphaned shared daly 2024-02-26 10:31:41 +01:00
ExpireSharesJob.php Fix hook encryption with cron job 2022-06-07 15:38:45 +00:00
Helper.php Let users choose a share_folder 2021-09-06 16:39:11 +02:00
Hooks.php update tests 2021-10-19 11:31:08 +02:00
ISharedStorage.php code checker fixes for instanceOfStorage 2021-12-02 17:35:10 +01:00
MountProvider.php Add SHARE_TYPE_SCIENCEMESH 2023-03-08 17:48:39 +00:00
OrphanHelper.php fix: Also cleanup orphaned shares user cannot be found anymore 2023-11-21 15:32:57 +00:00
Scanner.php background scan the source storage when a background scan on a storage jail is triggered 2021-12-02 17:34:58 +01:00
SharedMount.php add command for getting fileinfo for debugging 2023-05-01 14:03:19 +00:00
SharedStorage.php pass the share to the cache instead of having to ask the storage 2023-12-07 11:08:19 +01:00
Updater.php Add argument to getSharesInFolder enable deep share lookup 2022-07-26 12:17:46 +00:00
ViewOnly.php Fix view-only code after code review comments 2022-07-28 16:53:24 +02:00