[IAM] Clear user's permission cache after login (#102311)
This commit is contained in:
@@ -142,6 +142,7 @@ func ProvideRegistration(
|
||||
|
||||
authnSvc.RegisterPostAuthHook(rbacSync.SyncPermissionsHook, 120)
|
||||
authnSvc.RegisterPostLoginHook(orgSync.SetDefaultOrgHook, 140)
|
||||
authnSvc.RegisterPostLoginHook(rbacSync.ClearUserPermissionCacheHook, 170)
|
||||
|
||||
nsSync := sync.ProvideNamespaceSync(cfg)
|
||||
authnSvc.RegisterPostAuthHook(nsSync.SyncNamespace, 150)
|
||||
|
||||
Reference in New Issue
Block a user