RootContext
Defines root context in which all permissions are granted.
- See also
Value members
Concrete methods
Inherited methods
Tests permissions before applying operation.
Tests permissions before applying operation.
If all supplied permissions are granted, the operation is applied; otherwise, SecurityViolation is thrown.
- Value Params
- more
additional permissions
- one
permission
- op
operation
- Returns
value of operation
- Throws
- SecurityViolation
if all permissions are not granted
- Inherited from
- SecurityContext
Tests permissions before applying operation.
Tests permissions before applying operation.
If all supplied permissions are granted, the operation is applied; otherwise, SecurityViolation is thrown.
- Value Params
- op
operation
- perms
permissions
- Returns
value of operation
- Throws
- SecurityViolation
if all permissions are not granted
- Note
The operation is authorized if
perms
is empty.- Inherited from
- SecurityContext
Tests permissions before applying operation.
Tests permissions before applying operation.
If any of supplied permissions is granted, the operation is applied; otherwise, SecurityViolation is thrown.
- Value Params
- more
additional permissions
- one
permission
- op
operation
- Returns
value of operation
- Throws
- SecurityViolation
if no permission is granted
- Inherited from
- SecurityContext
Tests permissions before applying operation.
Tests permissions before applying operation.
If any of supplied permissions is granted, the operation is applied; otherwise, SecurityViolation is thrown.
- Value Params
- op
operation
- perms
permissions
- Returns
value of operation
- Throws
- SecurityViolation
if no permission is granted
- Note
The operation is authorized if
perms
is empty.- Inherited from
- SecurityContext
Tests permission before applying operation.
Tests permission before applying operation.
If supplied permission is granted, the operation is applied; otherwise, SecurityViolation is thrown.
- Value Params
- op
operation
- perm
permission
- Returns
value of operation
- Throws
- SecurityViolation
if permission is not granted
- Inherited from
- SecurityContext