remove datasource permission admin for now

This commit is contained in:
Marcus Efraimsson 2018-10-09 15:23:28 +02:00
parent 87793ea30d
commit 17a5e32f23
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -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)]