Files
terraform-authentik/config/roles/akR-media-kids.yaml
T
unkin-agent ec0646657d
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
Add adult/kids media groups for media split
The media services are splitting into an adult (fafflix) and kids (cheeztv)
tier, and Authentik group membership will drive the media proxy's routing and
authorization. This adds the two-tier RBAC groups so users can be assigned the
right media access ahead of the provider/application wiring.

- Add akP-media-fafflix and akP-media-cheeztv per-service permission entitlements
  (unbound, so they surface in the hierarchical ak_groups claim for the proxy)
- Add akR-media-adult role nesting both fafflix and cheeztv (adults reach both)
- Add akR-media-kids role nesting only cheeztv (kids reach kids services only)
2026-08-24 22:01:25 +10:00

8 lines
396 B
YAML

# Role akR-media-kids (name = filename): kids media tier. Kids reach only the
# kids ("cheeztv") service, so this role nests just that per-service entitlement.
# Membership propagates child -> parent, so a member appears in akP-media-cheeztv
# in the hierarchical `ak_groups` claim and the media proxy routes/authorizes
# them for cheeztv only (never fafflix).
permissions:
- akP-media-cheeztv