mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
remove datasource permission admin for now
This commit is contained in:
parent
87793ea30d
commit
17a5e32f23
@ -196,14 +196,12 @@ type DsPermissionType int
|
||||
|
||||
const (
|
||||
DsPermissionQuery DsPermissionType = 1 << iota
|
||||
DsPermissionAdmin
|
||||
DsPermissionNoAccess
|
||||
)
|
||||
|
||||
func (p DsPermissionType) String() string {
|
||||
names := map[int]string{
|
||||
int(DsPermissionQuery): "Query",
|
||||
int(DsPermissionAdmin): "Admin",
|
||||
int(DsPermissionNoAccess): "No Access",
|
||||
}
|
||||
return names[int(p)]
|
||||
|
Loading…
Reference in New Issue
Block a user