mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
restrict assignable tags to superadmins
This commit is contained in:
@@ -82,9 +82,9 @@
|
||||
loadCustomTags()
|
||||
sendUserToast('Tag added')
|
||||
}}
|
||||
disabled={newTag.trim() == ''}
|
||||
disabled={newTag.trim() == '' || !$superadmin}
|
||||
>
|
||||
Add
|
||||
Add {#if !superadmin} <span class="text-2xs text-tertiary">EE only</span> {/if}
|
||||
</Button>
|
||||
<span class="text-sm text-primary"
|
||||
>Configure <a href="/workers" target="_blank" class="inline-flex gap-1 items-baseline"
|
||||
|
||||
@@ -139,7 +139,6 @@
|
||||
let drawer: Drawer
|
||||
|
||||
let createdTags: string[] = []
|
||||
let selectedItem: string | undefined = undefined
|
||||
</script>
|
||||
|
||||
<ConfirmationModal
|
||||
|
||||
Reference in New Issue
Block a user