Renamed SecureRequestedRightChecker and implemented integration tests for it

This commit is contained in:
Kevin Frantz
2019-02-16 09:19:49 +01:00
parent 8f0b806719
commit 2aebdd603c
10 changed files with 109 additions and 23 deletions

View File

@@ -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;
}