wip
This commit is contained in:
1 parent
84c4a584a0
commit
310590010c
13 files changed
+119
-24
No files matched your search
@@ -41,7 +41,7 @@ public function isAdmin(): bool
|
||||
*/
|
||||
public function isOperator(): bool
|
||||
{
|
||||
return $this->hasRole('operator');
|
||||
return $this->hasRole(['operator', 'operator_card', 'operator_loan']);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,6 +57,6 @@ public function isCurrencyMaintainer(): bool
|
||||
*/
|
||||
public function isSystemUser(): bool
|
||||
{
|
||||
return $this->hasAnyRole();
|
||||
return $this->isAdmin() || $this->isOperator();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user