From 8f63abe9236edaf65f2fdce67cab7d4f1a1cdf71 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 8 Aug 2022 11:39:32 +0100 Subject: [PATCH] Show that admins and builders can access all apps --- .../builder/portal/manage/users/[userId].svelte | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte index 6c7f27aec8..59059663b9 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte @@ -19,6 +19,7 @@ Modal, notifications, Divider, + Banner, StatusLight, } from "@budibase/bbui" import { onMount } from "svelte" @@ -312,14 +313,13 @@ {/if} -
- Apps - {#if privileged} - This user's role grants admin access to all apps - {/if} -
+ Apps - {#if availableApps.length} + {#if privileged} + + This user's role grants admin access to all apps + + {:else if availableApps.length} {#each availableApps as app}