mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
feat(datatables): gate the roles UI mount sites on an enterprise license
Both mount sites are still commented out; the gate travels with them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BjfMkJyKzodxkobqGZ6Lqb
This commit is contained in:
co-authored by
Claude Opus 5
parent
db05c8b7c9
commit
eafc551651
@@ -481,11 +481,13 @@
|
||||
than rewriting it, and uncomment this together with the roles section at the
|
||||
bottom of this file and the two imports at the top.
|
||||
|
||||
<DataTablePermissionsButton
|
||||
workspace={$workspaceStore ?? ''}
|
||||
datatable={dataTable.name}
|
||||
disabled={!!dirtyMap[dataTable.name]}
|
||||
/>
|
||||
{#if $enterpriseLicense}
|
||||
<DataTablePermissionsButton
|
||||
workspace={$workspaceStore ?? ''}
|
||||
datatable={dataTable.name}
|
||||
disabled={!!dirtyMap[dataTable.name]}
|
||||
/>
|
||||
{/if}
|
||||
-->
|
||||
<Button
|
||||
size="xs"
|
||||
@@ -620,7 +622,7 @@ privileges, which arrives with the ACL editor.
|
||||
DataTableRolesSection.svelte is complete and reviewed — reuse it rather than rewriting it,
|
||||
and uncomment this together with the permissions button above and the two imports at the top.
|
||||
|
||||
{#if $superadmin && !isCloudHosted()}
|
||||
{#if $superadmin && $enterpriseLicense && !isCloudHosted()}
|
||||
<div class="mt-8">
|
||||
<DataTableRolesSection />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user