added role cards to permission screen (#4401)

* simplify creating new roles by auto-replacing input
This commit is contained in:
Kevin Papst
2023-11-04 20:17:05 +01:00
committed by GitHub
parent 0b1625175b
commit a1d9874c13
7 changed files with 98 additions and 90 deletions

View File

@@ -46,4 +46,9 @@ class Role
return $this;
}
public function isUser(): bool
{
return $this->name === User::ROLE_USER;
}
}