Constructor
new Ace(arg)
Constructor that uses the given strategy to grant or deny the action to or from the principal, respectively, with respect to the securable.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
Object | The argument. Properties
|
Methods
(static) denying(arg) → {Ace}
A factory method for producing an Ace that statically denies the action to the principal with respect to the securable.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
Object | The argument. Properties
|
Returns:
- Type
- Ace
(static) granting(arg) → {Ace}
A factory method for producing an Ace that statically grants the action to the principal with respect to the securable.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
Object | The argument. Properties
|
Returns:
- Type
- Ace
(static) of(arg) → {Ace}
A factory method for producing an Ace that uses the given strategy to grant or deny the action to or from the principal, respectively, with respect to the securable.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
Object | The argument. Properties
|
Returns:
- Type
- Ace
(static) permitting(arg) → {Ace}
A factory method for producing an Ace that statically permits the principal to take the action with respect to the securable.
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
Object | The argument. Properties
|
Returns:
- Type
- Ace
denies(arg)
Returns whether this Ace explicitly denies the given principal the action with respect to the given securable, given optional data.
Parameters:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
AccessControlTuple | The argument to be deconstructed. Properties
|
grants(arg)
Returns whether this Ace grants and does not explicitly deny the given principal the action with respect to the given securable, given optional data.
Parameters:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
AccessControlTuple | The argument to be deconstructed. Properties
|
permits(arg)
Returns whether this Ace permits and does not explicitly deny the given principal the action with respect to the given securable, given optional data.
Parameters:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
AccessControlTuple | The argument to be deconstructed. Properties
|