policies: make policy engine modes consistent with database values (#5462)
* policies: make policy engine modes consistent with database values Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix in ui Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix missing case Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -263,13 +263,13 @@ export class FlowForm extends ModelForm<Flow, string> {
|
||||
<ak-radio
|
||||
.options=${[
|
||||
{
|
||||
label: "ANY",
|
||||
label: "any",
|
||||
value: PolicyEngineMode.Any,
|
||||
default: true,
|
||||
description: html`${t`Any policy must match to grant access`}`,
|
||||
},
|
||||
{
|
||||
label: "ALL",
|
||||
label: "all",
|
||||
value: PolicyEngineMode.All,
|
||||
description: html`${t`All policies must match to grant access`}`,
|
||||
},
|
||||
|
||||
@ -225,13 +225,13 @@ export class StageBindingForm extends ModelForm<FlowStageBinding, string> {
|
||||
<ak-radio
|
||||
.options=${[
|
||||
{
|
||||
label: "ANY",
|
||||
label: "any",
|
||||
value: PolicyEngineMode.Any,
|
||||
default: true,
|
||||
description: html`${t`Any policy must match to grant access`}`,
|
||||
},
|
||||
{
|
||||
label: "ALL",
|
||||
label: "all",
|
||||
value: PolicyEngineMode.All,
|
||||
description: html`${t`All policies must match to grant access`}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user