diff --git a/packages/builder/src/components/portal/licensing/DeleteLicenseKeyModal.svelte b/packages/builder/src/components/portal/licensing/DeleteLicenseKeyModal.svelte
new file mode 100644
index 0000000000..e482d1c776
--- /dev/null
+++ b/packages/builder/src/components/portal/licensing/DeleteLicenseKeyModal.svelte
@@ -0,0 +1,31 @@
+
+
+
+
+ Are you sure you want to delete this license key?
+ This license key cannot be re-activated.
+
+
+
+
diff --git a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte
index f3b5cbee00..c9fdeb6cff 100644
--- a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte
+++ b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte
@@ -9,7 +9,7 @@
Tags,
notifications,
} from "@budibase/bbui"
- import { groups, auth, licensing } from "stores/portal"
+ import { groups, auth, licensing, admin } from "stores/portal"
import { onMount } from "svelte"
import CreateEditGroupModal from "./_components/CreateEditGroupModal.svelte"
import UserGroupsRow from "./_components/UserGroupsRow.svelte"
@@ -53,6 +53,8 @@
onMount(async () => {
try {
+ // always load latest
+ await licensing.init()
if ($licensing.groupsEnabled) {
await groups.actions.init()
}
@@ -77,7 +79,7 @@
{/if}
Easily assign and manage your users access with User Groups
- {#if !$auth.accountPortalAccess}
+ {#if !$auth.accountPortalAccess && $admin.cloud}
Contact your account holder to upgrade
{/if}
@@ -90,7 +92,7 @@
{:else}