From a0753bfc887ba1aed97d780fc085357e6b8fde8a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Mar 2021 22:25:28 +0100 Subject: [PATCH] docs: add docs for deny stage --- website/docs/flow/stages/deny.md | 10 ++++++++++ website/sidebars.js | 1 + 2 files changed, 11 insertions(+) create mode 100644 website/docs/flow/stages/deny.md 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",