diff --git a/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte b/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte index 966767a3fa..8b2d4a3bbd 100644 --- a/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte @@ -2199,11 +2199,21 @@ export async function main( - The handler is executed by the automatically created group - g/variable_expiration_handler. Rotating a variable means writing to it, so grant - that group write access to the variables it is meant to rotate. It starts with - none. A script that carries an on-behalf-of identity is the exception: it runs - as that user, with their permissions rather than the group's. + {#if variableExpirationSelected === 'custom'} + The handler is executed by the automatically created group + g/variable_expiration_handler. Rotating a variable means writing to it, so + grant that group write access to the variables it is meant to rotate. It + starts with none. A script that carries an on-behalf-of identity is the + exception: it runs as that user, with their permissions rather than the + group's. + {:else} + The handler is executed by the automatically created group + g/variable_expiration_handler. It only posts a message, so it needs no access + to your variables: it is given the path and the expiry date, never the value. + {#if variableExpirationSelected === 'slack'} + Access to the Slack bot token is granted for you. + {/if} + {/if}