mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
RBAC: Remove action set feature toggle (#101959)
* remove action set feature toggle * don't pass feature toggles to action set service instantiation * linting * test fixes and frontend clean-up * fix test
This commit is contained in:
@ -32,7 +32,7 @@ func ProvideFolderPermissions(
|
||||
cfg *setting.Cfg,
|
||||
sqlStore *sqlstore.SQLStore,
|
||||
) (*ossaccesscontrol.FolderPermissionsService, error) {
|
||||
actionSets := resourcepermissions.NewActionSetService(features)
|
||||
actionSets := resourcepermissions.NewActionSetService()
|
||||
|
||||
license := licensingtest.NewFakeLicensing()
|
||||
license.On("FeatureEnabled", "accesscontrol.enforcement").Return(true).Maybe()
|
||||
|
Reference in New Issue
Block a user