mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove version property from fixed roles (#51298)
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
func RegisterRoles(ac accesscontrol.AccessControl) error {
|
||||
saReader := accesscontrol.RoleRegistration{
|
||||
Role: accesscontrol.RoleDTO{
|
||||
Version: 1,
|
||||
Name: "fixed:serviceaccounts:reader",
|
||||
DisplayName: "Service accounts reader",
|
||||
Description: "Read service accounts and service account tokens.",
|
||||
@@ -26,7 +25,6 @@ func RegisterRoles(ac accesscontrol.AccessControl) error {
|
||||
|
||||
saWriter := accesscontrol.RoleRegistration{
|
||||
Role: accesscontrol.RoleDTO{
|
||||
Version: 4,
|
||||
Name: "fixed:serviceaccounts:writer",
|
||||
DisplayName: "Service accounts writer",
|
||||
Description: "Create, delete, read, or query service accounts.",
|
||||
|
||||
Reference in New Issue
Block a user