* Which Category is your question related to? *
This is in regards to s3 storage.
In AppSync we can assign users to groups and using graphql transform and the @auth decorator to specify what a user can do. For example:
@auth(
rules: [
{ allow: groups, groups: ["Admin"] }
{ allow: groups, groups: ["User"], operations: [read] }
]
)
How can you do the corresponding control in s3 upload with the amplify package? I see that I can assign controls based on authenticated or unauthenticated users, but I want further control so that I could allow Admins to upload and delete, but only allow users to read. Thanks!
* What AWS Services are you utilizing? *
S3 and Amplify.
* Provide additional details e.g. code snippets *
@CaptainChemist - This is not currently something that is possible OOTH with Amplify, but it is in our backlog.
This is now supported in the CLI: https://aws-amplify.github.io/docs/cli-toolchain/quickstart#group-access-controls
Most helpful comment
@CaptainChemist - This is not currently something that is possible OOTH with Amplify, but it is in our backlog.