mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 08:05:44 +00:00
prevent operators from loading secrets through toggle
This commit is contained in:
@@ -155,6 +155,7 @@
|
||||
<Toggle
|
||||
on:change={() => edit && loadVariable(initialPath)}
|
||||
bind:checked={variable.is_secret}
|
||||
disabled={$userStore?.operator}
|
||||
options={{ right: 'Secret' }}
|
||||
/>
|
||||
{#if variable.is_secret}
|
||||
|
||||
Reference in New Issue
Block a user