diff --git a/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte b/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte index c7ecaf1d34..d0eb50c8dd 100644 --- a/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte +++ b/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte @@ -48,7 +48,8 @@ let editModal, deleteModal $: group = $groups.find(x => x._id === groupId) - $: readonly = !sdk.users.isAdmin($auth.user) || group?.scimInfo?.isSync + $: isScimGroup = group?.scimInfo?.isSync + $: readonly = !sdk.users.isAdmin($auth.user) || isScimGroup $: groupApps = $apps .filter(app => groups.actions @@ -125,11 +126,11 @@ editModal.show()}> Edit -
+
deleteModal.show()} - disabled={group?.scimInfo?.isSync} + disabled={isScimGroup} > Delete