wip
This commit is contained in:
1 parent
44217fb8b9
commit
b509a23f7a
1 file changed
+9
-1
+9
-1
@@ -175,12 +175,20 @@ public function isOperator(): bool
|
||||
return $this->hasRole('operator');
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if user is a currency maintainer.
|
||||
*/
|
||||
public function isCurrencyMaintainer(): bool
|
||||
{
|
||||
return $this->hasRole('currency_maintainer');
|
||||
}
|
||||
|
||||
/**
|
||||
* Is System User
|
||||
*/
|
||||
public function isSystemUser(): bool
|
||||
{
|
||||
return $this->isAdmin() || $this->isOperator();
|
||||
return $this->isAdmin() || $this->isOperator() || $this->isCurrencyMaintainer();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user