Function IsPermEnabled

  • Returns if a permission is enabled for a session. This check is case-insensitive. Please use 'IsAccountAdmin' and 'IsSuperAdmin' when needed as they cover all account-level perms.

    Parameters

    • params: {
          accountId: string;
          perm: string;
          session: ISession;
      }
      • accountId: string
      • perm: string
      • session: ISession

    Returns boolean

Generated using TypeDoc