mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 05:47:11 +02:00
Optimized for SPA
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\SecureManagement;
|
||||
|
||||
use App\Entity\Meta\RightInterface;
|
||||
use App\Exception\SourceAccessDenied;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface SecureSourceCheckerInterface
|
||||
{
|
||||
/**
|
||||
* @throws SourceAccessDenied
|
||||
*
|
||||
* @param RightInterface $right
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function hasPermission(RightInterface $requestedRight): bool;
|
||||
}
|
Reference in New Issue
Block a user