RBAC: Expand action sets when fetching permissions (#87967)

* logic to expand action set to the underlying actions when permissions are fetched from the DB

* updates needed for dependency injection

* clean up some code, also deduplicate scopes when grouping scopes and actions

* expand on a comment

* rename a method
This commit is contained in:
Ieva
2024-05-21 15:09:26 +01:00
committed by GitHub
parent cb0bcb6fe4
commit 3e77768144
11 changed files with 224 additions and 45 deletions
@@ -89,7 +89,7 @@ func initializeConflictResolver(cmd *utils.ContextCommandLine, f Formatter, ctx
if err != nil {
return nil, fmt.Errorf("%v: %w", "failed to initialize tracer service", err)
}
acService, err := acimpl.ProvideService(cfg, s, routing, nil, nil, features, tracer)
acService, err := acimpl.ProvideService(cfg, s, routing, nil, nil, nil, features, tracer)
if err != nil {
return nil, fmt.Errorf("%v: %w", "failed to get access control", err)
}