RBAC: add folder UID scope resolver (#62695)

* add folder uid scope resolver

* undo guardian change, move it to a separate PR

* fix test + linting
This commit is contained in:
Ieva
2023-02-07 16:27:20 +00:00
committed by GitHub
parent 1cfd3f81fb
commit 078639abcd
3 changed files with 29 additions and 6 deletions
@@ -40,7 +40,7 @@ func TestIntegrationProvideFolderService(t *testing.T) {
ac := acmock.New()
ProvideService(ac, bus.ProvideBus(tracing.InitializeTracerForTest()), cfg, nil, nil, nil, &featuremgmt.FeatureManager{})
require.Len(t, ac.Calls.RegisterAttributeScopeResolver, 2)
require.Len(t, ac.Calls.RegisterAttributeScopeResolver, 3)
})
}