nextcloud-server/tests
nfebe 6bccaf778a 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-02 09:45:18 +07:00
..
Core feat(login): Add rememberme checkbox 2025-11-13 13:25:59 +07:00
apps chore: Add SPDX header 2024-05-13 17:41:36 +07:00
blueprints chore: split frontend building into legacy Vue 2 and Vue 3 2025-10-22 17:10:28 +07:00
data feat(previews): previews and tests for large remote videos w/o full download 2025-09-05 10:08:19 +07:00
docker chore: Add SPDX header 2024-05-13 17:41:36 +07:00
lib fix(sharing): Allow public share access for everyone 2025-12-02 09:45:18 +07:00
objectstore chore: Add SPDX header 2024-05-22 19:58:12 +07:00
autoload.php chore: Add an autoload.php file for tests relying on core class 2025-05-19 11:30:37 +07:00
bootstrap.php test: add env option to disable loading all installed apps during tests 2025-08-11 13:35:57 +07:00
databases-all-config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
drone-run-integration-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
drone-run-php-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
drone-wait-objectstore.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
enable_all.php chore: Replace last calls to OC_App::enable by IAppManager 2025-08-18 17:09:39 +07:00
phpunit-autotest-external.xml ci: Migrate PHPUnit configs 2025-06-06 14:36:31 +07:00
phpunit-autotest.xml ci: Migrate PHPUnit configs 2025-06-06 14:36:31 +07:00
preseed-config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
redis-cluster.config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
redis.config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
startsessionlistener.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00