Commit fd4ee6b0 by Torkel Ödegaard

Merge branch 'patch-1' of https://github.com/sairam0903/grafana into sairam0903-patch-1

parents 0091b86e 6929593e
......@@ -36,6 +36,10 @@ func (r RoleType) Includes(other RoleType) bool {
return other != ROLE_ADMIN
}
if r == ROLE_VIEWER {
return other == ROLE_VIEWER
}
return false
}
......
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