# infra/authentik/bootstrap/blueprints/01-groups.yaml # # Authentik Blueprint — declarative group setup. # # Loaded by the worker on boot (mounted at /blueprints/toolctrl/01-groups.yaml # via docker-compose.yml). Blueprints in /blueprints/* are evaluated by # Authentik at startup and applied idempotently — re-applying the same # blueprint is a no-op if entities already exist with the same `identifiers`. # # Spec: https://goauthentik.io/docs/customize/blueprints # # Groups created: # - toolctrl-admin (attribute role=super_admin) — full Toolctrl super-admin # - toolctrl-staff (attribute role=staff) — restricted admin (read + # limited write per app rules) # - toolctrl-users (attribute role=user) — placeholder for future # customer-tenant-SSO (#66); # no app uses this today version: 1 metadata: labels: blueprints.goauthentik.io/instantiate: "true" name: "Toolctrl Groups" entries: - identifiers: name: toolctrl-admin model: authentik_core.group state: present attrs: is_superuser: false # we use the group attr, NOT Authentik's built-in superuser flag attributes: role: super_admin toolctrl_managed: true - identifiers: name: toolctrl-staff model: authentik_core.group state: present attrs: is_superuser: false attributes: role: staff toolctrl_managed: true - identifiers: name: toolctrl-users model: authentik_core.group state: present attrs: is_superuser: false attributes: role: user toolctrl_managed: true