1 | <?php |
||
21 | class RbacAuthorizationChecker implements ResourceBundleAuthorizationCheckerInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var AuthorizationCheckerInterface |
||
25 | */ |
||
26 | private $rbacAuthorizationChecker; |
||
27 | |||
28 | /** |
||
29 | * @param AuthorizationCheckerInterface $rbacAuhtorizationChecker |
||
30 | */ |
||
31 | public function __construct(AuthorizationCheckerInterface $rbacAuhtorizationChecker) |
||
35 | |||
36 | /** |
||
37 | * @param RequestConfiguration $requestConfiguration |
||
38 | * @param string $permission |
||
39 | * |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function isGranted(RequestConfiguration $requestConfiguration, $permission) |
||
50 | } |
||
51 |