This commit is contained in:
nurmuhammet committed 2025-11-03 11:54:07 +05:00
1 parent 870aba0bcf
commit 38b9908e1e
21 files changed
+150 -75

No files matched your search

@@ -57,6 +57,6 @@ public function isCurrencyMaintainer(): bool
*/
public function isSystemUser(): bool
{
return $this->isAdmin() || $this->isOperator() || $this->isCurrencyMaintainer();
return $this->roles->count > 0;
}
}