-
Notifications
You must be signed in to change notification settings - Fork 825
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
fix: handle legacy string permissions #7305
Conversation
packages/amplify-provider-awscloudformation/src/utils/consolidate-apigw-policies.ts
Outdated
Show resolved
Hide resolved
packages/amplify-provider-awscloudformation/src/utils/consolidate-apigw-policies.ts
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #7305 +/- ##
==========================================
- Coverage 52.30% 52.26% -0.04%
==========================================
Files 498 498
Lines 25493 25510 +17
Branches 4995 5000 +5
==========================================
+ Hits 13333 13334 +1
- Misses 11206 11222 +16
Partials 954 954
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes!
An E2E test would be nice to get ahead of future regressions
👋 Hi, this pull request was referenced in the v4.51.0 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v4.51.0. |
Description of changes
This commit updates the REST API policy generation to handle legacy
'r'
and'rw'
values.Issue #, if available
#7301
#7310
Description of how you validated changes
Manual testing
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.