Neemias — API Reference
    Preparing search index...

    Function requirePermission

    • Assert that at least one role in the array has the given permission. Throws with a descriptive error if not.

      Parameters

      • roles: string[]
      • permission: string

      Returns void