core/common/permissions.service.ts
Methods |
|
constructor(appState: AppStateService, inventory: InventoryService, user: UserService)
|
||||||||||||
Parameters :
|
Protected Async checkIfOwner | ||||
checkIfOwner(mo)
|
||||
Decorators :
@memoize(undefined)
|
||||
Parameters :
Returns :
unknown
|
Protected checkWithRequest | ||||
checkWithRequest(mo)
|
||||
Decorators :
@memoize(undefined)
|
||||
Parameters :
Returns :
any
|
hasAllRoles | ||||||
hasAllRoles(roleIds: string[])
|
||||||
Parameters :
Returns :
any
|
hasAnyRole | ||||||
hasAnyRole(roleIds: string[])
|
||||||
Parameters :
Returns :
any
|
hasRole | ||||||
hasRole(roleId: string)
|
||||||
Parameters :
Returns :
any
|