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:
Diego Imbert
2026-09-16 15:14:29 +02:00
co-authored by Claude Opus 5
parent 16fdba4d82
commit 4c2f1a7b60
@@ -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>