Expanded rights to also manage actions instead of just a cruds

This commit is contained in:
Kevin Frantz committed 2019-02-21 18:46:57 +01:00
1 parent 465d6d6d01
commit 3e91aed050
27 files changed
+91 -98

No files matched your search

@@ -60,7 +60,7 @@ final class RightChecker implements RightCheckerInterface
*/
private function isTypeEqual(string $type): bool
{
return $this->right->getCrud() === $type;
return $this->right->getActionType() === $type;
}
/**