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 2543e6bb66..042f3fb4f4 100644 --- a/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte +++ b/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte @@ -13,7 +13,7 @@ import ConfirmDialog from "components/common/ConfirmDialog.svelte" import { Breadcrumb, Breadcrumbs } from "components/portal/page" import { roles } from "stores/builder" - import { apps, auth, features, groups } from "stores/portal" + import { apps, auth, groups } from "stores/portal" import { onMount, setContext } from "svelte" import AppNameTableRenderer from "../users/_components/AppNameTableRenderer.svelte" import AppRoleTableRenderer from "../users/_components/AppRoleTableRenderer.svelte" diff --git a/packages/builder/src/pages/builder/portal/users/users/[userId].svelte b/packages/builder/src/pages/builder/portal/users/users/[userId].svelte index 0ea0749537..d841cf3c48 100644 --- a/packages/builder/src/pages/builder/portal/users/users/[userId].svelte +++ b/packages/builder/src/pages/builder/portal/users/users/[userId].svelte @@ -30,8 +30,8 @@ import GroupNameTableRenderer from "../groups/_components/GroupNameTableRenderer.svelte" import AppNameTableRenderer from "./_components/AppNameTableRenderer.svelte" import AppRoleTableRenderer from "./_components/AppRoleTableRenderer.svelte" - import ScimBanner from "../_components/SCIMBanner.svelte" import { sdk } from "@budibase/shared-core" + import ScimInfo from "../_components/SCIMInfo.svelte" export let userId @@ -89,7 +89,7 @@ $: scimEnabled = $features.isScimEnabled $: isSSO = !!user?.provider - $: readonly = !sdk.users.isAdmin($auth.user) || scimEnabled + $: readonly = !sdk.users.isAdmin($auth.user) || user?.scimInfo?.isSync $: privileged = sdk.users.isAdminOrGlobalBuilder(user) $: nameLabel = getNameLabel(user) $: filteredGroups = getFilteredGroups($groups, searchTerm) @@ -274,8 +274,8 @@
Details - {#if scimEnabled} - + {#if user?.scimInfo?.isSync} + {/if}
diff --git a/packages/builder/src/pages/builder/portal/users/users/index.svelte b/packages/builder/src/pages/builder/portal/users/users/index.svelte index d14f8402cd..a10143a94c 100644 --- a/packages/builder/src/pages/builder/portal/users/users/index.svelte +++ b/packages/builder/src/pages/builder/portal/users/users/index.svelte @@ -28,6 +28,7 @@ import GroupsTableRenderer from "./_components/GroupsTableRenderer.svelte" import AppsTableRenderer from "./_components/AppsTableRenderer.svelte" import RoleTableRenderer from "./_components/RoleTableRenderer.svelte" + import EmailTableRenderer from "./_components/EmailTableRenderer.svelte" import { goto } from "@roxi/routify" import OnboardingTypeModal from "./_components/OnboardingTypeModal.svelte" import PasswordModal from "./_components/PasswordModal.svelte" @@ -39,7 +40,6 @@ import { OnboardingType } from "constants" import ScimInfo from "../_components/SCIMInfo.svelte" import { sdk } from "@budibase/shared-core" - import EmailTableRenderer from "./_components/EmailTableRenderer.svelte" const fetch = fetchData({ API,