Service which handles permissions

Type Parameters

  • T extends string = string

Hierarchy

  • PermissionService

Constructors

Properties

_manager: PermissionManager<T>

Methods

  • Fetch entity permissions

    Returns

    Promise Promise of a list of permissions this entity has against targetId

    Parameters

    • entityId: string

      The entity who is performing the action

    • Optional targetId: string

      The entity which is the target of the action

    Returns Promise<PermissionList<T>>

Generated using TypeDoc