Skip to content

[SeerrNG #768] feat(lumen): experience profiles for members, server-enforced age ratings and request types, and a clearer Administration - #45

Closed
ncbudd wants to merge 1 commit into
mainfrom
seerrng-pr-768
Closed

ncbudd wants to merge 1 commit into
mainfrom
seerrng-pr-768

Conversation

@ncbudd

@ncbudd ncbudd commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Mirror of snapetech-org/seerrng#768. The lumen/ tree is identical to that PR's branch. Review and discussion happen upstream; this closes once upstream merges and the sync picks it up.

Builds on snapetech-org/seerrng#767 and #765 (mirrors: [SeerrNG #767] and [SeerrNG #765] here), so this diff also includes them.

Summary

Builds on #767 (settings steps 1-2), which builds on #765, so please merge those first; until then this diff also shows their commits.

What admins and members see

  • Experience profiles (Administration → Member experience): admins decide how much of Lumen members see. Simple, Standard, Full and Kids are starting points; an admin can copy one into their own profile (e.g. "Family"), make one profile the default for everyone, and put individual people on another from Users (bulk select, keep or clear their own changes, "Preview as" a profile or person). Standard is today's Lumen, so nothing changes for anyone until an admin picks something else. Admins are never limited by a profile.
  • Age rating and request types per profile, enforced by the server. A profile can set a movie and TV rating ceiling and switch off request types (movie, TV, music, books, comics, magazines, sports, adult, software). The effective ceiling is the strictest of the server age gate, the person's own maturity limit and their profile. Titles above it leave Discover, search, collections and person pages, and every request path refuses with a plain 403 (requests, music follow and request-all, Soulseek, Readmeabook, book-series watch, follow auto-requests, Live TV recordings and team follows, collection queue, indexer grab, software). Automated syncs (watchlist, follows, sports, external lists) skip blocked types. A profile can only restrict, never grant; an admin acting for someone is not blocked.
  • Invites can set a profile: PUT/DELETE /api/v1/lumen/experience/assignments/:userId (admin or API key), with source: "invite". An invite never overwrites an assignment an admin made (409). Users shows "From invite".
  • Administration rail in 10 sections, service status cards, and a banner on the classic settings pages pointing to Lumen.
  • Every settings link opens the exact setting with a short highlight (respects reduced motion): Member experience rows, Related links, service cards, settings search. Old anchors of moved rows redirect.
  • Less clutter: rows that only said "X is set under Y" became one "Related:" line, long help moved into the ?, tiny sections merged, and long pages fold their sections on phones.
  • Setup guide is now a checklist on Administration → Overview with real status per step. /setup?guide=1 redirects there; first-run setup is unchanged.
  • You page in 7 sections; every setting has a help line plus the ?.
  • Server refusals a member can meet are shown in their language (en, fr, ar added).

Note for Keith: profiles are stored in the server settings section lumenExperience (nothing in lumen-config.json); members only get their own resolved view from /api/v1/lumen/experience/me, never the full config. No migrations. The Hardcover settings-search entry is left for after #766 merges.

Release notes: release-notes/lumen-experience-profiles.md, lumen-profile-content-limits.md, lumen-settings-deep-links.md, lumen-setup-checklist.md.

Tested: server tsc, ESLint, i18n:check and the full server suite (one failure that also fails on main: musicAurral "requires authentication and music request permission"); new tests for the request gate, profile ratings, maturity policy, MediaRequest and the assignment routes. Lumen tsc, build, unit tests and the full Playwright suite on desktop, iPhone, Android and tablet.

@ncbudd ncbudd closed this Dec 5, 2026
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.

1 participant