24 foreach ($this->acls as $acl) {
25 if ($acl->getRole()->getName() === $role) {
34 foreach ($this->acls as $acl) {
35 if ($acl->getResource()->getName() === $resource) {
44 foreach ($this->acls as $acl) {
45 if ($acl->getPermission()->getName() === $permission) {
54 foreach ($this->acls as $acl) {
55 if ($acl->getPermission()->getName() === $permission && $acl->getResource()->getName() === $resource) {
56 $result[] = $acl->getRole()->getName();
71 return $prov->existPart($part);
85 return $prov->existAcl($elm);
Ubiquity\security\acl\models$AbastractAclElement This class is part of Ubiquity.
Ubiquity\security\acl\models$AclElement This class is part of Ubiquity.
getAclsWithPermission(string $permission)
getPermissionByName(string $name)
getRolesWithPermissionOnResource(string $resource, string $permission)
getAclsWithRole(string $role)
existAclIn(AclElement $elm, string $providerClass)
existPartIn(AbstractAclPart $part, string $providerClass)
getProvider(string $providerClass)
getRoleByName(string $name)
getAclsWithResource(string $resource)
getResourceByName(string $name)