This commit is contained in:
nurmuhammet committed 2025-09-08 14:18:22 +05:00
1 parent 44217fb8b9
commit b509a23f7a
1 file changed
+9 -1
+9 -1
View File
@@ -175,12 +175,20 @@ public function isOperator(): bool
return $this->hasRole('operator'); return $this->hasRole('operator');
} }
/**
* Check if user is a currency maintainer.
*/
public function isCurrencyMaintainer(): bool
{
return $this->hasRole('currency_maintainer');
}
/** /**
* Is System User * Is System User
*/ */
public function isSystemUser(): bool public function isSystemUser(): bool
{ {
return $this->isAdmin() || $this->isOperator(); return $this->isAdmin() || $this->isOperator() || $this->isCurrencyMaintainer();
} }
/** /**