From 9d894528e31c97ebf2ed66207525f1ce697eda47 Mon Sep 17 00:00:00 2001 From: Jens L Date: Wed, 30 Aug 2023 20:10:36 +0200 Subject: [PATCH] website: fix reference to flow stage binding option (#6701) the option name was changed a while back but the docs still used the old name Signed-off-by: Jens Langhammer --- locale/en/LC_MESSAGES/django.po | 142 ++++++++++----------- web/src/admin/stages/deny/DenyStageForm.ts | 2 +- web/xliff/de.xlf | 7 +- web/xliff/en.xlf | 7 +- web/xliff/es.xlf | 7 +- web/xliff/fr_FR.xlf | 7 +- web/xliff/pl.xlf | 7 +- web/xliff/pseudo-LOCALE.xlf | 7 +- web/xliff/tr.xlf | 7 +- web/xliff/zh-Hans.xlf | 54 ++++---- web/xliff/zh-Hant.xlf | 7 +- web/xliff/zh_TW.xlf | 7 +- website/docs/flow/examples/snippets.md | 2 +- website/docs/flow/index.md | 2 +- website/docs/flow/inspector.md | 2 +- website/docs/flow/stages/deny.md | 2 +- website/docs/flow/stages/password/index.md | 2 +- website/docs/policies/index.md | 2 +- 18 files changed, 131 insertions(+), 142 deletions(-) diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 069fcadd6..cf9509f65 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-23 10:04+0000\n" +"POT-Creation-Date: 2023-08-30 17:44+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,11 +23,11 @@ msgstr "" msgid "Successfully re-scheduled Task %(name)s!" msgstr "" -#: authentik/api/schema.py:24 +#: authentik/api/schema.py:25 msgid "Generic API Error" msgstr "" -#: authentik/api/schema.py:32 +#: authentik/api/schema.py:33 msgid "Validation Error" msgstr "" @@ -82,11 +82,11 @@ msgstr "" msgid "Create a SAML Provider by importing its Metadata." msgstr "" -#: authentik/core/api/users.py:150 +#: authentik/core/api/users.py:158 msgid "No leading or trailing slashes allowed." msgstr "" -#: authentik/core/api/users.py:153 +#: authentik/core/api/users.py:161 msgid "No empty segments in user path allowed." msgstr "" @@ -102,7 +102,7 @@ msgstr "" msgid "User's display name." msgstr "" -#: authentik/core/models.py:268 authentik/providers/oauth2/models.py:294 +#: authentik/core/models.py:268 authentik/providers/oauth2/models.py:295 msgid "User" msgstr "" @@ -291,12 +291,12 @@ msgstr "" msgid "Go home" msgstr "" -#: authentik/core/templates/login/base_full.html:90 +#: authentik/core/templates/login/base_full.html:89 msgid "Powered by authentik" msgstr "" #: authentik/core/views/apps.py:53 -#: authentik/providers/oauth2/views/authorize.py:391 +#: authentik/providers/oauth2/views/authorize.py:393 #: authentik/providers/oauth2/views/device_init.py:70 #: authentik/providers/saml/views/sso.py:70 #, python-format @@ -917,216 +917,216 @@ msgid "" "this method only if you have different UPN and Mail domains." msgstr "" -#: authentik/providers/oauth2/models.py:42 +#: authentik/providers/oauth2/models.py:43 msgid "Confidential" msgstr "" -#: authentik/providers/oauth2/models.py:43 +#: authentik/providers/oauth2/models.py:44 msgid "Public" msgstr "" -#: authentik/providers/oauth2/models.py:65 +#: authentik/providers/oauth2/models.py:66 msgid "Same identifier is used for all providers" msgstr "" -#: authentik/providers/oauth2/models.py:67 +#: authentik/providers/oauth2/models.py:68 msgid "Each provider has a different issuer, based on the application slug." msgstr "" -#: authentik/providers/oauth2/models.py:74 +#: authentik/providers/oauth2/models.py:75 msgid "code (Authorization Code Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:75 +#: authentik/providers/oauth2/models.py:76 msgid "id_token (Implicit Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:76 +#: authentik/providers/oauth2/models.py:77 msgid "id_token token (Implicit Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:77 +#: authentik/providers/oauth2/models.py:78 msgid "code token (Hybrid Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:78 +#: authentik/providers/oauth2/models.py:79 msgid "code id_token (Hybrid Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:79 +#: authentik/providers/oauth2/models.py:80 msgid "code id_token token (Hybrid Flow)" msgstr "" -#: authentik/providers/oauth2/models.py:85 +#: authentik/providers/oauth2/models.py:86 msgid "HS256 (Symmetric Encryption)" msgstr "" -#: authentik/providers/oauth2/models.py:86 +#: authentik/providers/oauth2/models.py:87 msgid "RS256 (Asymmetric Encryption)" msgstr "" -#: authentik/providers/oauth2/models.py:87 +#: authentik/providers/oauth2/models.py:88 msgid "ES256 (Asymmetric Encryption)" msgstr "" -#: authentik/providers/oauth2/models.py:93 +#: authentik/providers/oauth2/models.py:94 msgid "Scope used by the client" msgstr "" -#: authentik/providers/oauth2/models.py:97 +#: authentik/providers/oauth2/models.py:98 msgid "" "Description shown to the user when consenting. If left empty, the user won't " "be informed." msgstr "" -#: authentik/providers/oauth2/models.py:116 +#: authentik/providers/oauth2/models.py:117 msgid "Scope Mapping" msgstr "" -#: authentik/providers/oauth2/models.py:117 +#: authentik/providers/oauth2/models.py:118 msgid "Scope Mappings" msgstr "" -#: authentik/providers/oauth2/models.py:127 +#: authentik/providers/oauth2/models.py:128 msgid "Client Type" msgstr "" -#: authentik/providers/oauth2/models.py:129 +#: authentik/providers/oauth2/models.py:130 msgid "" "Confidential clients are capable of maintaining the confidentiality of their " "credentials. Public clients are incapable" msgstr "" -#: authentik/providers/oauth2/models.py:136 +#: authentik/providers/oauth2/models.py:137 msgid "Client ID" msgstr "" -#: authentik/providers/oauth2/models.py:142 +#: authentik/providers/oauth2/models.py:143 msgid "Client Secret" msgstr "" -#: authentik/providers/oauth2/models.py:148 +#: authentik/providers/oauth2/models.py:149 msgid "Redirect URIs" msgstr "" -#: authentik/providers/oauth2/models.py:149 +#: authentik/providers/oauth2/models.py:150 msgid "Enter each URI on a new line." msgstr "" -#: authentik/providers/oauth2/models.py:154 +#: authentik/providers/oauth2/models.py:155 msgid "Include claims in id_token" msgstr "" -#: authentik/providers/oauth2/models.py:156 +#: authentik/providers/oauth2/models.py:157 msgid "" "Include User claims from scopes in the id_token, for applications that don't " "access the userinfo endpoint." msgstr "" -#: authentik/providers/oauth2/models.py:165 +#: authentik/providers/oauth2/models.py:166 msgid "" "Access codes not valid on or after current time + this value (Format: " "hours=1;minutes=2;seconds=3)." msgstr "" -#: authentik/providers/oauth2/models.py:173 -#: authentik/providers/oauth2/models.py:181 +#: authentik/providers/oauth2/models.py:174 +#: authentik/providers/oauth2/models.py:182 msgid "" "Tokens not valid on or after current time + this value (Format: hours=1;" "minutes=2;seconds=3)." msgstr "" -#: authentik/providers/oauth2/models.py:190 +#: authentik/providers/oauth2/models.py:191 msgid "" "Configure what data should be used as unique User Identifier. For most " "cases, the default should be fine." msgstr "" -#: authentik/providers/oauth2/models.py:197 +#: authentik/providers/oauth2/models.py:198 msgid "Configure how the issuer field of the ID Token should be filled." msgstr "" -#: authentik/providers/oauth2/models.py:202 +#: authentik/providers/oauth2/models.py:203 msgid "Signing Key" msgstr "" -#: authentik/providers/oauth2/models.py:206 +#: authentik/providers/oauth2/models.py:207 msgid "" "Key used to sign the tokens. Only required when JWT Algorithm is set to " "RS256." msgstr "" -#: authentik/providers/oauth2/models.py:213 +#: authentik/providers/oauth2/models.py:214 msgid "" "Any JWT signed by the JWK of the selected source can be used to authenticate." msgstr "" -#: authentik/providers/oauth2/models.py:286 +#: authentik/providers/oauth2/models.py:287 msgid "OAuth2/OpenID Provider" msgstr "" -#: authentik/providers/oauth2/models.py:287 +#: authentik/providers/oauth2/models.py:288 msgid "OAuth2/OpenID Providers" msgstr "" -#: authentik/providers/oauth2/models.py:296 -#: authentik/providers/oauth2/models.py:428 +#: authentik/providers/oauth2/models.py:297 +#: authentik/providers/oauth2/models.py:429 msgid "Scopes" msgstr "" -#: authentik/providers/oauth2/models.py:315 +#: authentik/providers/oauth2/models.py:316 msgid "Code" msgstr "" -#: authentik/providers/oauth2/models.py:316 +#: authentik/providers/oauth2/models.py:317 msgid "Nonce" msgstr "" -#: authentik/providers/oauth2/models.py:317 +#: authentik/providers/oauth2/models.py:318 msgid "Code Challenge" msgstr "" -#: authentik/providers/oauth2/models.py:319 +#: authentik/providers/oauth2/models.py:320 msgid "Code Challenge Method" msgstr "" -#: authentik/providers/oauth2/models.py:339 +#: authentik/providers/oauth2/models.py:340 msgid "Authorization Code" msgstr "" -#: authentik/providers/oauth2/models.py:340 +#: authentik/providers/oauth2/models.py:341 msgid "Authorization Codes" msgstr "" -#: authentik/providers/oauth2/models.py:382 +#: authentik/providers/oauth2/models.py:383 msgid "OAuth2 Access Token" msgstr "" -#: authentik/providers/oauth2/models.py:383 +#: authentik/providers/oauth2/models.py:384 msgid "OAuth2 Access Tokens" msgstr "" -#: authentik/providers/oauth2/models.py:393 +#: authentik/providers/oauth2/models.py:394 msgid "ID Token" msgstr "" -#: authentik/providers/oauth2/models.py:412 +#: authentik/providers/oauth2/models.py:413 msgid "OAuth2 Refresh Token" msgstr "" -#: authentik/providers/oauth2/models.py:413 +#: authentik/providers/oauth2/models.py:414 msgid "OAuth2 Refresh Tokens" msgstr "" -#: authentik/providers/oauth2/models.py:440 +#: authentik/providers/oauth2/models.py:441 msgid "Device Token" msgstr "" -#: authentik/providers/oauth2/models.py:441 +#: authentik/providers/oauth2/models.py:442 msgid "Device Tokens" msgstr "" -#: authentik/providers/oauth2/views/authorize.py:446 +#: authentik/providers/oauth2/views/authorize.py:448 #: authentik/providers/saml/views/flows.py:87 #, python-format msgid "Redirecting to %(app)s..." @@ -1136,20 +1136,20 @@ msgstr "" msgid "Invalid code" msgstr "" -#: authentik/providers/oauth2/views/userinfo.py:51 -#: authentik/providers/oauth2/views/userinfo.py:52 +#: authentik/providers/oauth2/views/userinfo.py:55 +#: authentik/providers/oauth2/views/userinfo.py:56 msgid "GitHub Compatibility: Access your User Information" msgstr "" -#: authentik/providers/oauth2/views/userinfo.py:53 +#: authentik/providers/oauth2/views/userinfo.py:57 msgid "GitHub Compatibility: Access you Email addresses" msgstr "" -#: authentik/providers/oauth2/views/userinfo.py:54 +#: authentik/providers/oauth2/views/userinfo.py:58 msgid "GitHub Compatibility: Access your Groups" msgstr "" -#: authentik/providers/oauth2/views/userinfo.py:55 +#: authentik/providers/oauth2/views/userinfo.py:59 msgid "authentik API Access on behalf of your user" msgstr "" @@ -1157,7 +1157,7 @@ msgstr "" msgid "User and password attributes must be set when basic auth is enabled." msgstr "" -#: authentik/providers/proxy/api.py:62 +#: authentik/providers/proxy/api.py:63 msgid "Internal host cannot be empty when forward auth is disabled." msgstr "" @@ -1895,7 +1895,7 @@ msgstr "" msgid "TOTP Authenticator Setup Stages" msgstr "" -#: authentik/stages/authenticator_validate/challenge.py:123 +#: authentik/stages/authenticator_validate/challenge.py:131 msgid "Invalid Token" msgstr "" @@ -2047,15 +2047,15 @@ msgstr "" msgid "Email Stages" msgstr "" -#: authentik/stages/email/stage.py:112 +#: authentik/stages/email/stage.py:117 msgid "Successfully verified Email." msgstr "" -#: authentik/stages/email/stage.py:119 authentik/stages/email/stage.py:141 +#: authentik/stages/email/stage.py:124 authentik/stages/email/stage.py:146 msgid "No pending user." msgstr "" -#: authentik/stages/email/stage.py:131 +#: authentik/stages/email/stage.py:136 msgid "Email sent." msgstr "" @@ -2178,11 +2178,11 @@ msgstr "" msgid "Identification Stages" msgstr "" -#: authentik/stages/identification/stage.py:184 +#: authentik/stages/identification/stage.py:188 msgid "Log in" msgstr "" -#: authentik/stages/identification/stage.py:185 +#: authentik/stages/identification/stage.py:189 msgid "Continue" msgstr "" diff --git a/web/src/admin/stages/deny/DenyStageForm.ts b/web/src/admin/stages/deny/DenyStageForm.ts index 8bd0a4f32..7be798c37 100644 --- a/web/src/admin/stages/deny/DenyStageForm.ts +++ b/web/src/admin/stages/deny/DenyStageForm.ts @@ -42,7 +42,7 @@ export class DenyStageForm extends ModelForm { return html`
${msg( - "Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding.", + "Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding.", )} diff --git a/web/xliff/de.xlf b/web/xliff/de.xlf index 0c20576ee..4d40fa614 100644 --- a/web/xliff/de.xlf +++ b/web/xliff/de.xlf @@ -4135,10 +4135,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Den Fluss statisch verweigern. Um diese Phase effektiv zu nutzen, deaktivieren Sie *Evaluate on plan* für die entsprechende Bindung - Dummy stage used for testing. Shows a simple continue button and always passes. Dummy-Stage zum Testen verwendet. Zeigt eine einfache Schaltfläche zum Fortfahren und besteht immer. @@ -5894,6 +5890,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/en.xlf b/web/xliff/en.xlf index 3c446d2b7..da9ff1d36 100644 --- a/web/xliff/en.xlf +++ b/web/xliff/en.xlf @@ -4365,10 +4365,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Dummy stage used for testing. Shows a simple continue button and always passes. Dummy stage used for testing. Shows a simple continue button and always passes. @@ -6210,6 +6206,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/es.xlf b/web/xliff/es.xlf index d65c380cd..93f5569e8 100644 --- a/web/xliff/es.xlf +++ b/web/xliff/es.xlf @@ -4061,10 +4061,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Niega el flujo estáticamente. Para usar esta etapa de manera efectiva, desactive *Evaluar en plan* en el encuadernado respectivo. - Dummy stage used for testing. Shows a simple continue button and always passes. Escenario ficticio utilizado para las pruebas. Muestra un botón de continuar simple y siempre pasa. @@ -5802,6 +5798,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/fr_FR.xlf b/web/xliff/fr_FR.xlf index c53681fda..bc2759dad 100644 --- a/web/xliff/fr_FR.xlf +++ b/web/xliff/fr_FR.xlf @@ -4137,10 +4137,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Refuser statiquement le flux. Pour utiliser cette étape efficacement, désactivez *Évaluer en planification* dans la liaison applicable. - Dummy stage used for testing. Shows a simple continue button and always passes. Étape factice utilisée pour les tests. Montre un simple bouton continuer et réussit toujours. @@ -5909,6 +5905,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/pl.xlf b/web/xliff/pl.xlf index af4fdac5c..8d3f9be51 100644 --- a/web/xliff/pl.xlf +++ b/web/xliff/pl.xlf @@ -4234,10 +4234,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. Przesunięcie, po którym zgoda wygasa. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Statycznie zaprzeczaj przepływowi. Aby efektywnie korzystać z tego etapu, wyłącz opcję *Oceń zgodnie z planem* w odpowiednim powiązaniu. - Dummy stage used for testing. Shows a simple continue button and always passes. Atrapa etapu używana do testowania. Pokazuje prosty przycisk kontynuuj i zawsze przechodzi. @@ -6041,6 +6037,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/pseudo-LOCALE.xlf b/web/xliff/pseudo-LOCALE.xlf index 1cafdf97d..ceb9b0577 100644 --- a/web/xliff/pseudo-LOCALE.xlf +++ b/web/xliff/pseudo-LOCALE.xlf @@ -4328,10 +4328,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Dummy stage used for testing. Shows a simple continue button and always passes. @@ -6145,6 +6141,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/tr.xlf b/web/xliff/tr.xlf index 61c5c297e..d6268cdc4 100644 --- a/web/xliff/tr.xlf +++ b/web/xliff/tr.xlf @@ -4052,10 +4052,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - Akışı statik olarak reddet. Bu aşamayı etkili bir şekilde kullanmak için ilgili bağlama üzerinde *Planda değerlendirme* devre dışı bırakın. - Dummy stage used for testing. Shows a simple continue button and always passes. Test için kullanılan kukla aşama. Basit bir devam düğmesi gösterir ve her zaman geçer. @@ -5792,6 +5788,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/zh-Hans.xlf b/web/xliff/zh-Hans.xlf index 7fe3ddbad..bc84afab9 100644 --- a/web/xliff/zh-Hans.xlf +++ b/web/xliff/zh-Hans.xlf @@ -1,4 +1,4 @@ - + @@ -618,9 +618,9 @@ - The URL "" was not found. - 未找到 URL " - "。 + The URL "" was not found. + 未找到 URL " + "。 @@ -1072,8 +1072,8 @@ - To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. - 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 + To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have. + 要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。 @@ -1819,8 +1819,8 @@ - Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". - 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 + Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test". + 输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。 @@ -3248,8 +3248,8 @@ doesn't pass when either or both of the selected options are equal or above the - Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' - 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' + Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...' + 包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...' @@ -4046,8 +4046,8 @@ doesn't pass when either or both of the selected options are equal or above the - When using an external logging solution for archiving, this can be set to "minutes=5". - 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 + When using an external logging solution for archiving, this can be set to "minutes=5". + 使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。 @@ -4056,8 +4056,8 @@ doesn't pass when either or both of the selected options are equal or above the - Format: "weeks=3;days=2;hours=3,seconds=2". - 格式:"weeks=3;days=2;hours=3,seconds=2"。 + Format: "weeks=3;days=2;hours=3,seconds=2". + 格式:"weeks=3;days=2;hours=3,seconds=2"。 @@ -4253,10 +4253,10 @@ doesn't pass when either or both of the selected options are equal or above the - Are you sure you want to update ""? + Are you sure you want to update ""? 您确定要更新 - " - " 吗? + " + " 吗? @@ -5372,7 +5372,7 @@ doesn't pass when either or both of the selected options are equal or above the - A "roaming" authenticator, like a YubiKey + A "roaming" authenticator, like a YubiKey 像 YubiKey 这样的“漫游”身份验证器 @@ -5455,11 +5455,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. 同意过期后的偏移。 - - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - 静态拒绝流。要有效地使用此阶段,请在相应的绑定上禁用*规划时进行评估*。 - Dummy stage used for testing. Shows a simple continue button and always passes. @@ -5712,10 +5707,10 @@ doesn't pass when either or both of the selected options are equal or above the - ("", of type ) + ("", of type ) - (" - ",类型为 + (" + ",类型为 @@ -5764,7 +5759,7 @@ doesn't pass when either or both of the selected options are equal or above the - If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. + If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here. 如果设置时长大于 0,用户可以选择“保持登录”选项,这将使用户的会话延长此处设置的时间。 @@ -7776,7 +7771,10 @@ Bindings to groups/users are checked against the user of the event. External: 外部: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. - \ No newline at end of file + diff --git a/web/xliff/zh-Hant.xlf b/web/xliff/zh-Hant.xlf index 4e2732f4a..4afbc635a 100644 --- a/web/xliff/zh-Hant.xlf +++ b/web/xliff/zh-Hant.xlf @@ -4097,10 +4097,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - 静态拒绝流。要有效地使用此阶段,请在相应的绑定上禁用*按计划评估*。 - Dummy stage used for testing. Shows a simple continue button and always passes. 用于测试的虚拟阶段。显示一个简单的 “继续” 按钮,并且始终通过。 @@ -5847,6 +5843,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/web/xliff/zh_TW.xlf b/web/xliff/zh_TW.xlf index 6fa6c4220..83a3798ad 100644 --- a/web/xliff/zh_TW.xlf +++ b/web/xliff/zh_TW.xlf @@ -4097,10 +4097,6 @@ doesn't pass when either or both of the selected options are equal or above the Offset after which consent expires. - - Statically deny the flow. To use this stage effectively, disable *Evaluate on plan* on the respective binding. - 静态拒绝流。要有效地使用此阶段,请在相应的绑定上禁用*按计划评估*。 - Dummy stage used for testing. Shows a simple continue button and always passes. 用于测试的虚拟阶段。显示一个简单的 “继续” 按钮,并且始终通过。 @@ -5846,6 +5842,9 @@ Bindings to groups/users are checked against the user of the event. External: + + + Statically deny the flow. To use this stage effectively, disable *Evaluate when flow is planned* on the respective binding. diff --git a/website/docs/flow/examples/snippets.md b/website/docs/flow/examples/snippets.md index b9135e9ea..1aae77af6 100644 --- a/website/docs/flow/examples/snippets.md +++ b/website/docs/flow/examples/snippets.md @@ -16,7 +16,7 @@ plan.redirect("https://foo.bar") return False ``` -This policy should be bound to the stage after your redirect should happen. For example, if you have an identification and a password stage, and you want to redirect after identification, bind the policy to the password stage. Make sure the policy binding is set to re-evaluate policies. +This policy should be bound to the stage after your redirect should happen. For example, if you have an identification and a password stage, and you want to redirect after identification, bind the policy to the password stage. Make sure the stage binding's option _Evaluate when stage is run_ is enabled. ### Deny flow when user is authenticated diff --git a/website/docs/flow/index.md b/website/docs/flow/index.md index 2ce1e44f4..d13ea1e5e 100644 --- a/website/docs/flow/index.md +++ b/website/docs/flow/index.md @@ -10,7 +10,7 @@ For example, a standard login flow would consist of the following stages: - Password, the user's password is checked against the hash in the database - Log the user in -Upon flow execution, a plan containing all stages is generated. This means that all attached policies are evaluated upon execution. This behaviour can be altered by enabling the **Re-evaluate Policies** option on the binding. +Upon flow execution, a plan containing all stages is generated. This means that all attached policies are evaluated upon execution. This behaviour can be altered by enabling the **Evaluate when stage is run** option on the binding. To determine which flow is linked, authentik searches all flows with the required designation and chooses the first instance the current user has access to. diff --git a/website/docs/flow/inspector.md b/website/docs/flow/inspector.md index 6715c32fc..976c2d81f 100644 --- a/website/docs/flow/inspector.md +++ b/website/docs/flow/inspector.md @@ -14,7 +14,7 @@ The following infos are shown in the inspector ## Next stage -This is the currently planned next stage. If you have stage bindings configured to evaluate on plan (default), then you will see the result here. If you however have them configured to re-evaluate, then this will not show up here, since the results will vary based on your input. +This is the currently planned next stage. If you have stage bindings configured to _Evaluate when flow is planned_, then you will see the result here. If you however have them configured to re-evaluate (_Evaluate when stage is run_), then this will not show up here, since the results will vary based on your input. Shown is the name and kind of the stage, as well as the unique ID. diff --git a/website/docs/flow/stages/deny.md b/website/docs/flow/stages/deny.md index 49249d57a..4f281ec5a 100644 --- a/website/docs/flow/stages/deny.md +++ b/website/docs/flow/stages/deny.md @@ -6,5 +6,5 @@ This stage stops the execution of a flow. This can be used to conditionally deny 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. +To effectively use this stage, make sure _Evaluate when flow is planned_ is **disable** on the Stage binding. ::: diff --git a/website/docs/flow/stages/password/index.md b/website/docs/flow/stages/password/index.md index 9cddce661..b893c2ac7 100644 --- a/website/docs/flow/stages/password/index.md +++ b/website/docs/flow/stages/password/index.md @@ -26,4 +26,4 @@ return DuoDevice.objects.filter(user=request.context['pending_user'], confirmed= Afterwards, bind the policy you've created to the stage binding of the password stage. -Make sure to uncheck _Evaluate on plan_ and check _Re-evaluate policies_, otherwise an invalid result will be cached. +Make sure to uncheck _Evaluate when flow is planned_ and check _Evaluate when stage is run_, otherwise an invalid result will be cached. diff --git a/website/docs/policies/index.md b/website/docs/policies/index.md index 60b20d9b9..25bb7f36a 100644 --- a/website/docs/policies/index.md +++ b/website/docs/policies/index.md @@ -43,4 +43,4 @@ authentik keeps track of failed login attempts by source IP and attempted userna This policy can be used, for example, to prompt clients with a low score to pass a captcha before they can continue. -To make sure this policy is executed correctly, set `Re-evaluate policies` when using it with a flow. +To make sure this policy is executed correctly, set _Evaluate when stage is run_ when using it with a flow.