Files
authentik/web/src/admin/applications/PolicyOptions.ts
2025-05-24 22:32:32 +02:00

19 lines
475 B
TypeScript

import { PolicyEngineMode } from "@goauthentik/api";
import { msg } from "@lit/localize";
import { html } from "lit";
export const policyOptions = [
{
label: "any",
value: PolicyEngineMode.Any,
default: true,
description: html`${msg("Any policy must match to grant access")}`,
},
{
label: "all",
value: PolicyEngineMode.All,
description: html`${msg("All policies must match to grant access")}`,
},
];