Always allow adding group

This commit is contained in:
Adria Navarro 2024-02-23 16:58:58 +01:00
parent 5ebe01fbb8
commit 39086fcd99
1 changed files with 8 additions and 8 deletions

View File

@ -110,14 +110,10 @@
<div class="controls">
<ButtonGroup>
{#if $licensing.groupsEnabled}
{#if !$features.isScimEnabled}
<!--Show the group create button-->
<Button disabled={readonly} cta on:click={showCreateGroupModal}>
Add group
</Button>
{:else}
<ScimInfo text="Users are synced from your AD" />
{/if}
{:else}
<Button
primary
@ -152,6 +148,10 @@
allowEditRows={false}
{customRenderers}
/>
{#if $features.isScimEnabled && filteredGroups?.some(g => g.scimInfo?.isSync)}
<ScimInfo text="Group synced externally" />
{/if}
{/if}
</Layout>