Unblock non-scim groups

This commit is contained in:
Adria Navarro 2024-02-23 16:55:04 +01:00
parent c4e81c6e38
commit 5ebe01fbb8
2 changed files with 3 additions and 2 deletions

View File

@ -135,7 +135,7 @@
</div>
<Layout noPadding gap="S">
<GroupUsers {groupId} />
<GroupUsers {groupId} {group} />
</Layout>
<Layout noPadding gap="S">

View File

@ -12,6 +12,7 @@
import { sdk } from "@budibase/shared-core"
export let groupId
export let group
let emailSearch
let fetchGroupUsers
@ -49,7 +50,7 @@
},
]
$: scimEnabled = $features.isScimEnabled
$: scimEnabled = $features.isScimEnabled && group.scimInfo?.isSync
$: readonly = !sdk.users.isAdmin($auth.user) || scimEnabled
const removeUser = async id => {