mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Expanded rights to also manage actions instead of just a cruds
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user