Commit a810bed2 by Peter Holmberg

Merge branch 'data-source-instance-to-react' of…

Merge branch 'data-source-instance-to-react' of https://github.com/grafana/grafana into data-source-instance-to-react
parents d71ae7bd 17a5e32f
......@@ -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)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment