• Ensures that the subject contains the required permissions to execute a piece of code

    Parameters

    • subject: undefined | AuthenticatedManagementSubject

      The management subject - most often parsed from a JWT

    • permissions: string[]

      the list of permissions that allow to use that message handler

    • serviceId: string

      the service ID of this service

    Returns Promise<void>

Generated using TypeDoc