docs: add docs for deny stage

This commit is contained in:
Jens Langhammer 2021-03-02 22:25:28 +01:00
parent e2a771bdaa
commit a0753bfc88
2 changed files with 11 additions and 0 deletions

View file

@ -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.
:::

View file

@ -51,6 +51,7 @@ module.exports = {
"flow/stages/authenticator_validate/index", "flow/stages/authenticator_validate/index",
"flow/stages/authenticator_webauthn/index", "flow/stages/authenticator_webauthn/index",
"flow/stages/captcha/index", "flow/stages/captcha/index",
"flow/stages/deny",
"flow/stages/email/index", "flow/stages/email/index",
"flow/stages/identification/index", "flow/stages/identification/index",
"flow/stages/invitation/index", "flow/stages/invitation/index",