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 4f80e1a942..90159a531a 100644
--- a/packages/builder/src/pages/builder/portal/users/users/index.svelte
+++ b/packages/builder/src/pages/builder/portal/users/users/index.svelte
@@ -11,6 +11,7 @@
notifications,
Pagination,
Divider,
+ Icon,
} from "@budibase/bbui"
import AddUserModal from "./_components/AddUserModal.svelte"
import { users, groups, auth, licensing, organisation } from "stores/portal"
@@ -230,14 +231,21 @@
-
-
-
-
+ {#if $licensing.scimEnabled}
+
+
+
+
+ {:else}
+
+
+ Users are synced from your AD
+
+ {/if}
{#if selectedRows.length > 0}
@@ -322,4 +330,9 @@
.controls-right :global(.spectrum-Search) {
width: 200px;
}
+
+ .scim-banner {
+ display: flex;
+ gap: var(--spacing-s);
+ }
diff --git a/packages/builder/src/stores/portal/licensing.js b/packages/builder/src/stores/portal/licensing.js
index 8640df5ef6..467299b2fd 100644
--- a/packages/builder/src/stores/portal/licensing.js
+++ b/packages/builder/src/stores/portal/licensing.js
@@ -18,6 +18,7 @@ export const createLicensingStore = () => {
groupsEnabled: false,
backupsEnabled: false,
brandingEnabled: false,
+ scimEnabled: false,
// the currently used quotas from the db
quotaUsage: undefined,
// derived quota metrics for percentages used
@@ -66,6 +67,7 @@ export const createLicensingStore = () => {
const backupsEnabled = license.features.includes(
Constants.Features.BACKUPS
)
+ const scimEnabled = license.features.includes(Constants.Features.SCIM)
const environmentVariablesEnabled = license.features.includes(
Constants.Features.ENVIRONMENT_VARIABLES
)
@@ -88,6 +90,7 @@ export const createLicensingStore = () => {
groupsEnabled,
backupsEnabled,
brandingEnabled,
+ scimEnabled,
environmentVariablesEnabled,
auditLogsEnabled,
enforceableSSO,