mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Renamed SecureRequestedRightChecker and implemented integration tests for it
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\SecureManagement;
|
||||
|
||||
use App\Domain\RequestManagement\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;
|
||||
}
|
Reference in New Issue
Block a user