This commit is contained in:
Mekan1206 committed 2026-08-15 20:52:07 +05:00
1 parent f68db67465
commit ab7cd8160f
1 file changed
+2
+2
View File
@@ -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();
}