1 | <?php |
||
13 | class Security implements SecurityInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var UserIdentificationInterface |
||
17 | */ |
||
18 | private $userIdentification; |
||
19 | |||
20 | /** |
||
21 | * @var PermissionVoterInterface |
||
22 | */ |
||
23 | private $permissionVoter; |
||
24 | |||
25 | /** |
||
26 | * Security constructor. |
||
27 | * @param UserIdentificationInterface $userIdentification |
||
28 | * @param PermissionVoterInterface $permissionVoter |
||
29 | */ |
||
30 | public function __construct( |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function allowsUpdateWithCdbXml(StringLiteral $offerId) |
||
48 | |||
49 | /** |
||
50 | * @inheritdoc |
||
51 | */ |
||
52 | public function isAuthorized(AuthorizableCommandInterface $command) |
||
58 | |||
59 | /** |
||
60 | * @param StringLiteral $offerId |
||
61 | * @param AuthorizableCommandInterface $command |
||
62 | * @return bool |
||
63 | */ |
||
64 | private function currentUiTIDUserCanEditOffer( |
||
78 | } |
||
79 |