Skip to content

Commit b0e2526

Browse files
committed
chore: add callout warning to file access level
1 parent 12ccdc1 commit b0e2526

File tree

1 file changed

+6
-1
lines changed
  • src/fragments/lib/storage/native_common/configureaccess

1 file changed

+6
-1
lines changed

src/fragments/lib/storage/native_common/configureaccess/common.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
#### Note: This feature is deprecated
1+
<Callout warning>
2+
We recommend using the new [Amplify Gen2](https://docs.amplify.aws/gen2/build-a-backend/storage/) experience when defining file access permissions as it offers a more flexible approach to customize access to files.
3+
4+
Note: `accessLevel` parameter is deprecated and maybe removed in next major version.
5+
</Callout>
6+
27
When adding the Storage category, you configure the level of access users have to your S3 bucket. You can configure separate rules for authenticated vs. guest users. When using the Storage category to upload files, you can also specify an access level for each individual file: guest, protected, or private.
38

49
- **Guest** Accessible by all users of your application

0 commit comments

Comments
 (0)