projects/isy-angular-widgets/src/lib/security/permission-maps.ts
Contains an array of roles that can access specific elements or routes.
Properties |
| elements |
elements:
|
Type : literal type
|
|
A list of elements and associated roles that can access that element. |
| routes |
routes:
|
Type : literal type
|
|
A list of routes and associated roles that can access that route. |
export interface PermissionMaps {
/**
* A list of elements and associated roles that can access that element.
*/
elements: {[key: string]: string[]};
/**
* A list of routes and associated roles that can access that route.
*/
routes: {[key: string]: string[]};
}