mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 02:06:23 +02:00
21 lines
451 B
PHP
21 lines
451 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\SecureManagement;
|
|
|
|
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
|
|
|
/**
|
|
* Allows to check if a RequestedRight is valid.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
interface SecureRequestedRightCheckerServiceInterface
|
|
{
|
|
/**
|
|
* @param RequestedRightInterface $requestedRight
|
|
*
|
|
* @return bool If Permission granted true
|
|
*/
|
|
public function check(RequestedRightInterface $requestedRight): bool;
|
|
}
|