src/modules/authorization/directives/permission.intf.ts
Describes the configuration to be passed to the StarkShowOnPermissionDirective and StarkHideOnPermissionDirective.
Properties |
roles |
roles:
|
Type : string[]
|
The roles to be checked by the directives in order to determine whether the user has permission to access the content |
export interface StarkRBACDirectivePermission {
/**
* The roles to be checked by the directives in order to determine whether the user has permission to access the content
*/
roles: string[];
}