From c641d6ed7d737df711bbc9115159ce065a277e5f Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 11 Nov 2022 11:47:22 +0100 Subject: [PATCH] feat: new security / permissions --- .../settings/+page.svelte | 2 +- .../bucket-[bucket]/settings/+page.svelte | 99 +++++++++++-------- 2 files changed, 60 insertions(+), 41 deletions(-) diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/settings/+page.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/settings/+page.svelte index 6c7bc2aff..838e832a3 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/settings/+page.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/settings/+page.svelte @@ -184,7 +184,7 @@ Update Permissions -

+

Choose who can access your collection and documents. For more information, check out the - + @@ -251,37 +264,15 @@

Update Permissions -

- Assign read or write permissions at the Bucket Level or - File Level. If Bucket Level permissions are assigned, file permissions - will be ignored. +

+ Choose who can access your buckets and files. For more information, check out + the Permissions Guide in our documentation.

-
    -
  • - -
  • -
  • - -
  • -
- {#if bucketFileSecurity} + {#if bucketPermissions} {/if}
@@ -291,6 +282,34 @@
+
+ + Update File Security + + + + +

+ When file security is enabled, users will be able to access files for which + they have been granted either File or Bucket permissions. +

+

+ If file security is disabled, users can access files only if they have Bucket permissions. File permissions will be ignored.. +

+
+ + + +
+
+
Update Security Settings