nextcloud/lib/public/Share
nfebe 58991b1b19 fix(sharing): Allow public share access for everyone
When a logged-in user accesses a public share link in the same browser,
the system was incorrectly checking if that user's groups were excluded
from creating link shares. This caused share not found errors for users
in excluded groups, even though public shares should be accessible to anyone
with the link.

The group exclusion setting (`shareapi_allow_links_exclude_groups`) is
intended to restrict share creation, not share access. Public shares
are meant to be anonymous and accessible regardless of the viewer identity
or group membership.

We now check the exclusion for the share creator and not the viewer.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-03 19:53:17 +01:00
..
Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Exceptions feat(sharing): Fetch a unique generated token 2025-01-15 15:49:19 -08:00
IAttributes.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
IManager.php fix(sharing): Allow public share access for everyone 2025-12-03 19:53:17 +01:00
IProviderFactory.php fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated getters 2025-05-16 10:48:03 +02:00
IPublicShareTemplateFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IPublicShareTemplateProvider.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IShare.php fix(IShare): Add missing getParent and setParent methods 2025-07-29 11:27:04 +02:00
IShareHelper.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
IShareProvider.php fix(IShareProvider): Add missing getChildren method to the interface 2025-07-29 10:26:33 +02:00
IShareProviderSupportsAccept.php fix: Add acceptShare as an interface 2024-07-30 15:25:51 +02:00
IShareProviderSupportsAllSharesInFolder.php perf(Share20): Add interface to query all shares in a folder without filtering by user 2025-05-08 15:29:40 +02:00
IShareProviderWithNotification.php fix: Add acceptShare as an interface 2024-07-30 15:25:51 +02:00