Show that admins and builders can access all apps
This commit is contained in:
parent
0f27af90c7
commit
8f63abe923
1 changed files with 7 additions and 7 deletions
|
@ -19,6 +19,7 @@
|
||||||
Modal,
|
Modal,
|
||||||
notifications,
|
notifications,
|
||||||
Divider,
|
Divider,
|
||||||
|
Banner,
|
||||||
StatusLight,
|
StatusLight,
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import { onMount } from "svelte"
|
import { onMount } from "svelte"
|
||||||
|
@ -312,14 +313,13 @@
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<Layout gap="S" noPadding>
|
<Layout gap="S" noPadding>
|
||||||
<div>
|
|
||||||
<Heading size="S">Apps</Heading>
|
<Heading size="S">Apps</Heading>
|
||||||
{#if privileged}
|
|
||||||
<Body size="S">This user's role grants admin access to all apps</Body>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
<List>
|
<List>
|
||||||
{#if availableApps.length}
|
{#if privileged}
|
||||||
|
<Banner showCloseButton={false}>
|
||||||
|
This user's role grants admin access to all apps
|
||||||
|
</Banner>
|
||||||
|
{:else if availableApps.length}
|
||||||
{#each availableApps as app}
|
{#each availableApps as app}
|
||||||
<ListItem
|
<ListItem
|
||||||
title={app.name}
|
title={app.name}
|
||||||
|
|
Loading…
Reference in a new issue