Static
Readonly
BASE_Allows the given users or rules to perform the operation
this permission object
Rest
...userOrRole: TrustedEntity[]The users or roles to allow
Copies permissions from another permission object
The permission to copy from
Deletes any allow/deny rules for the given users or roles
this permission object
Rest
...userOrRole: TrustedEntity[]The users or roles to delete rules for
Denies the given users or rules to perform the operation
this permission object
Rest
...userOrRole: TrustedEntity[]The users or roles to deny
Returns the actual rule of the given user or role.
The actual access rule or undefined if no rule was found
The user or role to check for
Checks whenever the user or role is explicit allowed to perform the operation.
true
If the given user or role is allowed
The user or role to check for
Checks whenever the user or role is explicit denied to perform the operation.
true
If the given user or role is denied
The user or role to check for
Private
refResolves user and role references and validate given references
The resolved and validated reference
The user, role or reference
Static
fromJSONCreates a permission from the given rules.
The permission.
The rules.
Generated using TypeDoc
An aggregation of access rules for given object metadata.