Skip to content

Conversation

@ildyria
Copy link
Member

@ildyria ildyria commented Jan 29, 2026

Fixes #4047

Summary by CodeRabbit

Release Notes

  • New Features
    • Added new album protection option "Public but Hidden" for albums, providing enhanced privacy controls.

✏️ Tip: You can customize this high-level summary in your review settings.

@ildyria ildyria requested a review from a team as a code owner January 29, 2026 20:21
@coderabbitai
Copy link

coderabbitai bot commented Jan 29, 2026

📝 Walkthrough

Walkthrough

The defaultAlbumProtectionOptions constant in resources/js/config/constants.ts was updated to replace numeric string identifiers ("1", "2", "3") with semantic string identifiers ("private", "public", "inherit"), and a new protection option ("public_hidden") was added to the list.

Changes

Cohort / File(s) Summary
Album Protection Configuration
resources/js/config/constants.ts
Updated album protection options to use semantic string values instead of numeric strings and added a new public_hidden option for galleries that are public but hidden.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Poem

🐰 A rabbit hops through data fields so fine,
Old numbers ("1", "2") now read semantic and shine,
With "private", "public", and "inherit" so clear,
Plus "public_hidden" brings a whisper near,
Constants now speak human, not machine code!

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ildyria ildyria changed the title Fixes #4047 Fix settings not being set for default album protection policy Jan 29, 2026
@ildyria ildyria merged commit 619acf5 into master Jan 29, 2026
43 checks passed
@ildyria ildyria deleted the fix-4047 branch January 29, 2026 20:59
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