File

src/modules/authorization/directives/permission.intf.ts

Description

Describes the configuration to be passed to the StarkShowOnPermissionDirective and StarkHideOnPermissionDirective.

Index

Properties

Properties

roles
roles: string[]
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[];
}

results matching ""

    No results matching ""