nextcloud-server/apps
nfebe 8725129312 fix(sharing): Allow reasonable control 4 'Hide download' on fed shares
When creating public links from federated shares, users should be able to set
the 'Hide download' option independently as long as they are more restrictive
than the original share permissions.

Previously, the `checkInheritedAttributes` method was ignoring user preferences
and always overriding the hideDownload setting based solely on inherited
permissions, preventing users from disabling downloads even when the parent
share allowed them.

This fix implements some sort of inheritance logic:
- Users can only be MORE restrictive than parent shares, never LESS restrictive
- If parent hides downloads -> child MUST hide downloads (enforced)
- If parent allows downloads -> child can CHOOSE to hide or allow downloads
- If parent forbids downloads entirely -> child cannot enable downloads

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-28 13:42:45 +07:00
..
admin_audit fix(l10n): Update translations from Transifex 2025-11-15 00:13:34 +07:00
cloud_federation_api feat(ocm): split ocm discovery and capabilities 2025-08-20 14:47:31 +07:00
comments fix(l10n): Update translations from Transifex 2025-11-25 00:14:18 +07:00
contactsinteraction fix(l10n): Update translations from Transifex 2025-10-11 00:13:34 +07:00
dashboard fix(l10n): Update translations from Transifex 2025-11-16 00:13:44 +07:00
dav chore: adjust tests 2025-11-26 01:03:13 +07:00
encryption fix(l10n): Update translations from Transifex 2025-11-27 00:13:53 +07:00
federatedfilesharing fix(l10n): Update translations from Transifex 2025-11-23 00:13:49 +07:00
federation fix(l10n): Update translations from Transifex 2025-11-20 00:14:31 +07:00
files fix(l10n): Update translations from Transifex 2025-11-27 00:13:53 +07:00
files_external fix(l10n): Update translations from Transifex 2025-11-25 00:14:18 +07:00
files_reminders fix(files_reminder): prevent setting reminder in the past 2025-11-26 09:49:20 +07:00
files_sharing fix(sharing): Allow reasonable control 4 'Hide download' on fed shares 2025-11-28 13:42:45 +07:00
files_trashbin fix(l10n): Update translations from Transifex 2025-11-27 00:13:53 +07:00
files_versions fix(l10n): Update translations from Transifex 2025-11-24 00:14:18 +07:00
lookup_server_connector fix(l10n): Update translations from Transifex 2025-10-11 00:13:34 +07:00
oauth2 fix(l10n): Update translations from Transifex 2025-11-22 00:14:28 +07:00
profile fix(l10n): Update translations from Transifex 2025-11-17 00:13:40 +07:00
provisioning_api fix(l10n): Update translations from Transifex 2025-11-27 00:13:53 +07:00
settings fix(settings): Reactive UI updates for app group limitations 2025-11-28 12:34:50 +07:00
sharebymail fix(l10n): Update translations from Transifex 2025-11-23 00:13:49 +07:00
systemtags fix(l10n): Update translations from Transifex 2025-11-26 00:14:25 +07:00
testing test(dav): add integration test for principal property search 2025-06-17 20:02:30 +07:00
theming fix(l10n): Update translations from Transifex 2025-11-20 00:14:31 +07:00
twofactor_backupcodes fix(l10n): Update translations from Transifex 2025-11-20 00:14:31 +07:00
updatenotification fix(l10n): Update translations from Transifex 2025-11-22 00:14:28 +07:00
user_ldap fix(l10n): Update translations from Transifex 2025-11-28 00:13:39 +07:00
user_status fix(l10n): Update translations from Transifex 2025-11-27 00:13:53 +07:00
weather_status fix(l10n): Update translations from Transifex 2025-11-17 00:13:40 +07:00
webhook_listeners fix(l10n): Update translations from Transifex 2025-11-28 00:13:39 +07:00
workflowengine fix(l10n): Update translations from Transifex 2025-11-25 00:14:18 +07:00