Skip to content

Type Alias: ActionInfo ​

ActionInfo = object

A controller action's identity and options.

Properties ​

acl ​

acl: boolean

Whether the action is checked by the access control rules (its acl option).


action ​

action: string

The action's controller class and method, as ControllerClass:method.


description ​

description: string

The action's description: its description option, empty by default.


groups ​

groups: string[]

The ids of the action's groups (its groups option).


id ​

id: string

The action's id: a UUID derived from the controller, the method and the address, stable across restarts.


name ​

name: string

The action's name: its name option, ControllerClass:method by default.


rule? ​

optional rule?: AccessControlRuleHandler<any>

The action's own access rule (its rule option).

Released under the MIT License.