Skip to content
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

Content editor only works when permissions are set to public #155

Closed
micahwalter opened this issue Mar 31, 2021 · 6 comments
Closed

Content editor only works when permissions are set to public #155

micahwalter opened this issue Mar 31, 2021 · 6 comments
Labels
bug An issue which has been identified as a bug pending-release Code has been merged but pending release

Comments

@micahwalter
Copy link

Describe the bug

It seems that when I have the permissions on a table set to public (create, read, update, delete) I am able to manage content from the admin ui without issue, but if I turn off one of those flags (create or update) I can't edit content. This seems like a big since I am logged in to the admin ui via IAM, but the auth method for my API is using just an API Key...

To Reproduce

Set your data model to "read" only. Go to the Content module and try to create or edit an item. You will get a red X error next to your item.

Expected behavior

This action should result in the content being properly updated.

Screenshots

Screen Shot 2021-03-30 at 8 16 25 PM

@swaminator swaminator added bug An issue which has been identified as a bug data-manage labels Mar 31, 2021
@hsspain
Copy link
Contributor

hsspain commented Apr 1, 2021

@micahwalter Thank you for this bug report. We are working on a resolution to this and will update this when it is released.

@vladimirzoyangit
Copy link

experiencing same, any updates on this?

@cwoolum
Copy link
Contributor

cwoolum commented Apr 20, 2021

Hello, just wanted to give an update. We are waiting for a fix to roll out the the CLI that should fix this issue.

aws-amplify/amplify-cli#7035

@cwoolum cwoolum added the pending-release Code has been merged but pending release label Apr 20, 2021
@micahwalter
Copy link
Author

Hi,
Looks like this may have been fixed. Has it been released yet?

m

@cwoolum
Copy link
Contributor

cwoolum commented Jun 7, 2021

Yes, this should be fixed now. Can you please confirm?

@micahwalter
Copy link
Author

yes, seems to work now. I'll close this issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue which has been identified as a bug pending-release Code has been merged but pending release
Projects
None yet
Development

No branches or pull requests

5 participants