IfPermissionsDirective
Conditionally shows/hides templates based on the current active user having the specified permission. Based on the ngIf source. Also support "else" templates:
Example
The permission can be a single string, or an array. If an array is passed, then all of the permissions must match (logical AND)
- Extends:
IfDirectiveBase<Array<Permission[] | null>>
Was this chapter helpful?