-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot edit Content in Amplify Studio as cannot change to IAM permissions #848
Comments
hey @PeteDuncanson, thank you for reaching. Amplify Studio utilizes IAM auth as a auth provider with
clicking on |
@ykethan I'm confused by the public setting, that will make everything available to everyone will it not? How does this help me allowing an editor to update content within my DynamoDB using Amplify Studio without just making it so everyone can edit it? Can you give me an example of what a type should be decorated with auth wise to make it Pete |
Hey @PeteDuncanson, apologies. the public rule was an example for the data manager to test functionality. Wanted to provide some additional information about studio. Currently, the data manager to be editable requires IAM auth added as either a default or additional auth auth mode with conflict detection enabled as well. From the information provided I understand the save and deploy is currently disabled, could you utilize the Amplify CLI to add the IAM auth to your GraphQL API? |
Hey @PeteDuncanson , it was great chatting with you today. Do let me know if i can close this issue. |
|
I am facing the exact same issue described here - added IAM as secondary auth mechanism using CLI and pushed to Amplify and even though it said successfully deployed I can't see the IAM addition on the GraphQL API settings page. Is there any chance we can talk through the project with you @ykethan as we're facing multiple issues around authorization and access both on the app and the console. |
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
v10.4.2
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Nope
Describe the bug
Trying to give Amplify Studio a whirl for editing content but when I click on the Content link I get this message shown:
IAM is required as an auth provider to use content management capabilities. To automatically add IAM and enable content management, navigate to 'Data' and select 'Save and Deploy'.
Going to "Data" the "Save and Deploy" button is always grayed out. I found the IAM option in the drop down under "GraphQL settings" link under the heading but can't seem to find a way to save the change, when I go back to "Data" as instructed the "Save and Deploy" button is still greyed out.
As a result I'm stuck.
Additionally I don;t know if changing my default auth mode to "IAM" is going to blow up my auth for my app or not? It is currently set to Cognito User Pools.
Expected behavior
The helpful pointers on how to unstick it actually unstick it.
Reproduction steps
To be fair my project is over 2+ years old and uses @searchable etc. so might be out of the scope of what Studio can handle but it telling me that would be handy.
Project Identifier
No response
Log output
Additional information
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: