Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
AclManagerTester.php
Go to the documentation of this file.
1<?php
2
4
8
13
19 public static function cacheUpdated(): bool {
20 return self::$aclList->cacheUpdated();
21 }
22
29 public static function existPartIn(AbstractAclPart $part, string $providerClass):bool {
30 return self::$aclList->existPartIn($part, $providerClass);
31 }
32
39 public static function existAclIn(AclElement $elm, string $providerClass):bool {
40 return self::$aclList->existAclIn($elm, $providerClass);
41 }
42
43 public static function roleExists(string $roleName): bool {
44 return self::$aclList->roleExists($roleName);
45 }
46
47 public static function resourceExists(string $resourceName): bool {
48 return self::$aclList->resourceExists($resourceName);
49 }
50
51 public static function permissionExists(string $permissionName): bool {
52 return self::$aclList->permissionExists($permissionName);
53 }
54}
Ubiquity\security\acl\models$AbastractAclElement This class is part of Ubiquity.
Ubiquity\security\acl\models$AclElement This class is part of Ubiquity.
Ubiquity\security\acl\models$AclList This class is part of Ubiquity.
Definition AclList.php:18
static permissionExists(string $permissionName)
static cacheUpdated()
Checks if ACL cache is updated.
static existPartIn(AbstractAclPart $part, string $providerClass)
static existAclIn(AclElement $elm, string $providerClass)