mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
RBAC: Always store action sets (#92833)
always store action sets, even if FT is disabled
This commit is contained in:
parent
9dc333dfa7
commit
46e81e98cf
@ -725,7 +725,7 @@ func (s *store) createPermissions(sess *db.Session, roleID int64, cmd SetResourc
|
||||
}
|
||||
|
||||
func (s *store) shouldStoreActionSet(resource, permission string) bool {
|
||||
if !(s.features.IsEnabled(context.TODO(), featuremgmt.FlagAccessActionSets) && permission != "") {
|
||||
if permission == "" {
|
||||
return false
|
||||
}
|
||||
actionSetName := GetActionSetName(resource, permission)
|
||||
|
Loading…
Reference in New Issue
Block a user