Derive group name from filename; use distinct ak_groups claim
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

- Permission/role group name now comes from the config filename (the map key),
  dropping the redundant `name` field from each YAML and the object types.
- The hierarchical mapping emits an `ak_groups` claim (scope `ak_groups`) instead
  of `groups`, so it never collides with the direct-groups the default profile
  mapping already emits under `groups` (Authentik overrides same-key claims in an
  unpredictable order). Apps request the `ak_groups` scope and read that claim.
This commit is contained in:
2026-07-18 16:19:26 +10:00
parent 1dab2ecc6f
commit 805ea48a36
18 changed files with 41 additions and 50 deletions
+5
View File
@@ -0,0 +1,5 @@
# Role akR-global-admin (name = filename): full admin across all onboarded apps.
permissions:
- akP-grafana-admin
- akP-argocd-admin
- akP-rancher-admin