AclDecoratedResolver/ResourcesCollectionProvider.php 1 location
|
@@ 46-57 (lines=12) @@
|
43 |
|
$this->ignoreWhenHasRbacRole = $ignoreWhenHasRbacRole; |
44 |
|
} |
45 |
|
|
46 |
|
private function requireOwnerCheck(array $vars) |
47 |
|
{ |
48 |
|
if ($this->rbacAuthorizationChecker->isGranted($this->ignoreWhenHasRbacRole)) { |
49 |
|
return false; |
50 |
|
} |
51 |
|
|
52 |
|
if (!array_key_exists('acl_owner', $vars)) { |
53 |
|
return false; |
54 |
|
} |
55 |
|
|
56 |
|
return false !== $vars['acl_owner']; |
57 |
|
} |
58 |
|
|
59 |
|
/** |
60 |
|
* {@inheritdoc} |
AclDecoratedResolver/SingleResourceProvider.php 1 location
|
@@ 47-58 (lines=12) @@
|
44 |
|
$this->ignoreWhenHasRbacRole = $ignoreWhenHasRbacRole; |
45 |
|
} |
46 |
|
|
47 |
|
private function requireOwnerCheck(array $vars) |
48 |
|
{ |
49 |
|
if ($this->rbacAuthorizationChecker->isGranted($this->ignoreWhenHasRbacRole)) { |
50 |
|
return false; |
51 |
|
} |
52 |
|
|
53 |
|
if (!array_key_exists('acl_owner', $vars)) { |
54 |
|
return false; |
55 |
|
} |
56 |
|
|
57 |
|
return false !== $vars['acl_owner']; |
58 |
|
} |
59 |
|
|
60 |
|
/** |
61 |
|
* {@inheritdoc} |