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> </div>
<Layout noPadding gap="S"> <Layout noPadding gap="S">
<GroupUsers {groupId} /> <GroupUsers {groupId} {group} />
</Layout> </Layout>
<Layout noPadding gap="S"> <Layout noPadding gap="S">

View File

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