This commit is contained in:
Torkel Ödegaard 2019-03-20 10:59:05 +01:00
commit 1085055d61

View File

@ -36,6 +36,10 @@ func (r RoleType) Includes(other RoleType) bool {
return other != ROLE_ADMIN return other != ROLE_ADMIN
} }
if r == ROLE_VIEWER {
return other == ROLE_VIEWER
}
return false return false
} }