RBAC: Add actionsets struct and write path (#86108)
* Add actionsets struct and failing test
* update from review
* review comments
* review comments update
* refactor: create interface
* actionset service
* fix tests
* move from wireoss to wire
* Apply suggestions from code review
remove unnecessary comments
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* nil for the actionsetservice
* Revert "nil for the actionsetservice"
This reverts commit e3d3cc8171.
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
This commit is contained in:
@@ -65,7 +65,8 @@ func TestGetFolders(t *testing.T) {
|
||||
viewerClient := tests.GetClient(grafanaListedAddr, "viewer", "viewer")
|
||||
|
||||
// access control permissions store
|
||||
permissionsStore := resourcepermissions.NewStore(store, featuremgmt.WithFeatures())
|
||||
actionSetService := resourcepermissions.NewActionSetService()
|
||||
permissionsStore := resourcepermissions.NewStore(store, featuremgmt.WithFeatures(), &actionSetService)
|
||||
|
||||
numberOfFolders := 5
|
||||
indexWithoutPermission := 3
|
||||
|
||||
Reference in New Issue
Block a user