Fixed gofmt issue in PR #16093
This commit is contained in:
1 parent
fd4ee6b032
commit
d11695b8b5
1 file changed
+1
-1
@@ -35,7 +35,7 @@ func (r RoleType) Includes(other RoleType) bool {
|
||||
if r == ROLE_EDITOR {
|
||||
return other != ROLE_ADMIN
|
||||
}
|
||||
|
||||
|
||||
if r == ROLE_VIEWER {
|
||||
return other == ROLE_VIEWER
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user