mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-13 15:46:28 +00: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