mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-16 07:06:04 +02:00
Renamed domain RightManagement to Right
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
* Checks if the crud, layer and source combination is granted by a right.
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface RightCheckerInterface
|
||||
{
|
||||
/**
|
||||
* @param string $layer
|
||||
* @param string $type
|
||||
* @param SourceInterface $source
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isGranted(string $layer, string $type, SourceInterface $source): bool;
|
||||
}
|
Reference in New Issue
Block a user