gluon
    Preparing search index...

    Function checkPermission

    • Checks if a set of permissions contains a specific permission.

      Parameters

      • memberPermission: null | string

        The permissions to check.

      • permission: string

        The permission to check for.

      • adminOverride: boolean = true

        Whether the admin permission should be taken into consideration.

      Returns boolean