Source for file IPermissionAssertion.php
Documentation is available at IPermissionAssertion.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Represents conditional ACL Rules with Assertions.
- 17: *
- 20: */
- 22: {
- 23: /**
- 24: * Returns true if and only if the assertion conditions are met.
- 25: *
- 26: * This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the
- 27: * $role, $resource, or $privilege parameters are Permission::ALL, it means that the query applies to all Roles,
- 28: * Resources, or privileges, respectively.
- 29: *
- 35: */
- 37: }