Skip to content

Test that hidden media never leaks to a restricted user #1316 - #1340

Merged
bpatrik merged 2 commits into
masterfrom
ccr-a7863f58-0lr5xh
Nov 8, 2026
Merged

bpatrik merged 2 commits into
masterfrom
ccr-a7863f58-0lr5xh

Conversation

@bpatrik

@bpatrik bpatrik commented Nov 8, 2026

Copy link
Copy Markdown
Owner

One table-driven integration test: a user with a media block list and a
directory block list against every endpoint that returns media or data
about it (folder listing, search, autocomplete, faces, face thumbnails,
albums, zip, random, original files, thumbnails, icons, videos, gpx).
Every check first runs as an admin and must find the hidden content, so
a check can't pass by finding nothing.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01EfCGEPe6Gmkg76bxGWUn7j

One table-driven integration test: a user with a media block list and a
directory block list against every endpoint that returns media or data
about it (folder listing, search, autocomplete, faces, face thumbnails,
albums, zip, random, original files, thumbnails, icons, videos, gpx).
Every check first runs as an admin and must find the hidden content, so
a check can't pass by finding nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EfCGEPe6Gmkg76bxGWUn7j
- Share: a guest opens a shared folder with accents in its name and its
  subfolder.
- Search: typing accented text in the search bar finds the folder's
  photos (also covers "type free text -> results render", #1309).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EfCGEPe6Gmkg76bxGWUn7j
@bpatrik
bpatrik merged commit e07abd5 into master Nov 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants