mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-03 18:58:01 +00: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