WIP
This commit is contained in:
1 parent
f68db67465
commit
ab7cd8160f
1 file changed
+2
@@ -46,6 +46,8 @@ public static function isOperator(?User $user): bool
|
||||
return false;
|
||||
}
|
||||
|
||||
return true; // TODO: Remove this
|
||||
|
||||
return $user->isMe() || $user->isAdmin() || $user->isDirektor() || $user->isManager();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user