Authz: Setup access claims for service identity (#100986)

* Setup access claims for service identity and add them to identityes without any claims
This commit is contained in:
Karl Persson
2025-02-20 13:54:47 +01:00
committed by GitHub
parent be81314e21
commit 16fda6f686
5 changed files with 89 additions and 32 deletions
@@ -145,5 +145,7 @@ func ProvideRegistration(
nsSync := sync.ProvideNamespaceSync(cfg)
authnSvc.RegisterPostAuthHook(nsSync.SyncNamespace, 150)
authnSvc.RegisterPostAuthHook(sync.AccessClaimsHook, 160)
return Registration{}
}