added role cards to permission screen (#4401)
* simplify creating new roles by auto-replacing input
This commit is contained in:
@@ -46,4 +46,9 @@ class Role
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isUser(): bool
|
||||
{
|
||||
return $this->name === User::ROLE_USER;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user