Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function allows(ActorInterface $actor, string $permission, array $context): bool |
||
33 | { |
||
34 | $this->getLogger()->log( |
||
35 | static::LEVEL, |
||
36 | "Actor `{actor}` has been granted insecure access to '{permission}'.", [ |
||
37 | 'actor' => get_class($actor), |
||
38 | 'permission' => $permission |
||
39 | ] |
||
40 | ); |
||
41 | |||
42 | return true; |
||
43 | } |
||
44 | } |