Skip to main content

HasPermissionPipe

A pipe which checks the provided permission against all the permissions of the current user. Returns true if the current user has that permission.

Example

HTML
Signature
  • Implements: PipeTransform, OnDestroy

constructor

method(permissionsService: PermissionsService, changeDetectorRef: ChangeDetectorRef) => HasPermissionPipe

transform

method(input: string | string[]) => any

ngOnDestroy

method() =>
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page