prevent operators from loading secrets through toggle

This commit is contained in:
Ruben Fiszel
2024-04-05 09:03:16 +02:00
parent 5cee360bf7
commit 9b88bf0758
@@ -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}