mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Access Control: Make it possible to exclude role grants (#91647)
This commit is contained in:
@@ -442,6 +442,8 @@ func (hs *HTTPServer) declareFixedRoles() error {
|
||||
},
|
||||
},
|
||||
Grants: []string{"Editor"},
|
||||
// Don't grant fixed:folders:creator to Admin
|
||||
Exclude: []string{"Admin"},
|
||||
}
|
||||
|
||||
foldersReaderRole := ac.RoleRegistration{
|
||||
|
||||
Reference in New Issue
Block a user