diff --git a/website/docs/flow/stages/deny.md b/website/docs/flow/stages/deny.md new file mode 100644 index 000000000..f5877336a --- /dev/null +++ b/website/docs/flow/stages/deny.md @@ -0,0 +1,10 @@ +--- +title: Deny stage +--- + +This stage stops the execution of a flow. This can be used to conditionally deny users access to a flow, +even if they are not signed in (and permissions can't be checked via groups). + +:::caution +To effectively use this stage, make sure to **disable** *Evaluate on plan* on the Stage binding. +::: diff --git a/website/sidebars.js b/website/sidebars.js index ce45e2a00..e0141684c 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -51,6 +51,7 @@ module.exports = { "flow/stages/authenticator_validate/index", "flow/stages/authenticator_webauthn/index", "flow/stages/captcha/index", + "flow/stages/deny", "flow/stages/email/index", "flow/stages/identification/index", "flow/stages/invitation/index",