mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: small fixes
This commit is contained in:
1 parent
8290d13d2b
commit
1f5aa04ee9
3 files changed
+33
-7
No files matched your search
+16
-3
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { CardGrid, Box, Heading } from '$lib/components';
|
||||
import { CardGrid, Box, Heading, Alert } from '$lib/components';
|
||||
import { Container } from '$lib/layout';
|
||||
import { Button, InputText, InputSwitch, Helper } from '$lib/elements/forms';
|
||||
import { Permissions } from '$lib/components/permissions';
|
||||
@@ -192,8 +192,21 @@
|
||||
rel="noopener noreferrer">Permissions Guide</a> in our documentation.
|
||||
</p>
|
||||
<svelte:fragment slot="aside">
|
||||
{#if collectionPermissions}
|
||||
<Permissions bind:permissions={collectionPermissions} withCreate />
|
||||
{#if $collection.documentSecurity}
|
||||
{#if collectionPermissions}
|
||||
<Permissions bind:permissions={collectionPermissions} withCreate />
|
||||
{/if}
|
||||
{:else}
|
||||
<Alert type="info">
|
||||
<svelte:fragment slot="title">
|
||||
Document security is disabled
|
||||
</svelte:fragment>
|
||||
<p class="text">
|
||||
If you want to assign document permissions, navigate to Collection
|
||||
settings and enable document security. Otherwise, only Collection
|
||||
permissions will be used.
|
||||
</p>
|
||||
</Alert>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="actions">
|
||||
|
||||
+1
-1
@@ -153,7 +153,7 @@
|
||||
|
||||
<Table>
|
||||
<TableHeader>
|
||||
<TableCellHead width={100}>Deployment ID</TableCellHead>
|
||||
<TableCellHead width={90}>Deployment ID</TableCellHead>
|
||||
<TableCellHead width={140}>Created</TableCellHead>
|
||||
<TableCellHead width={100}>Status</TableCellHead>
|
||||
<TableCellHead width={70}>Size</TableCellHead>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { Pill } from '$lib/elements';
|
||||
import { CardGrid, Box, Heading } from '$lib/components';
|
||||
import { CardGrid, Box, Heading, Alert } from '$lib/components';
|
||||
import { Container } from '$lib/layout';
|
||||
import {
|
||||
Form,
|
||||
@@ -272,8 +272,21 @@
|
||||
rel="noopener noreferrer">Permissions Guide</a> in our documentation.
|
||||
</p>
|
||||
<svelte:fragment slot="aside">
|
||||
{#if bucketPermissions}
|
||||
<Permissions bind:permissions={bucketPermissions} />
|
||||
{#if $bucket.fileSecurity}
|
||||
{#if bucketPermissions}
|
||||
<Permissions bind:permissions={bucketPermissions} />
|
||||
{/if}
|
||||
{:else}
|
||||
<Alert type="info">
|
||||
<svelte:fragment slot="title">
|
||||
File security is disabled
|
||||
</svelte:fragment>
|
||||
<p class="text">
|
||||
If you want to assign document permissions, navigate to Bucket
|
||||
settings and enable file security. Otherwise, only Bucket
|
||||
permissions will be used.
|
||||
</p>
|
||||
</Alert>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="actions">
|
||||
|
||||
Reference in new issue
Block a user