This commit is contained in:
Adria Navarro 2024-02-27 13:08:45 +01:00
parent b06ce02ebc
commit 539c36558c
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@
Table,
} from "@budibase/bbui"
import { onMount, setContext } from "svelte"
import { users, auth, groups, apps, licensing, features } from "stores/portal"
import { users, auth, groups, apps, licensing } from "stores/portal"
import { roles } from "stores/builder"
import ForceResetPasswordModal from "./_components/ForceResetPasswordModal.svelte"
import UserGroupPicker from "components/settings/UserGroupPicker.svelte"
@ -87,7 +87,6 @@
let user
let loaded = false
$: scimEnabled = $features.isScimEnabled
$: isSSO = !!user?.provider
$: readonly = !sdk.users.isAdmin($auth.user) || user?.scimInfo?.isSync
$: privileged = sdk.users.isAdminOrGlobalBuilder(user)