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

fix: handle legacy string permissions #7305

Merged
merged 3 commits into from
May 12, 2021
Merged

fix: handle legacy string permissions #7305

merged 3 commits into from
May 12, 2021

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented May 11, 2021

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

  • PR description included
  • yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cjihrig cjihrig requested a review from a team as a code owner May 11, 2021 15:14
@cjihrig cjihrig linked an issue May 11, 2021 that may be closed by this pull request
4 tasks
@cjihrig cjihrig linked an issue May 11, 2021 that may be closed by this pull request
4 tasks
@codecov-commenter
Copy link

Codecov Report

Merging #7305 (4a6bddf) into master (abb64f6) will decrease coverage by 0.03%.
The diff coverage is 8.33%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
...dformation/src/utils/consolidate-apigw-policies.ts 11.64% <8.33%> (-0.76%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abb64f6...4a6bddf. Read the comment docs.

Copy link
Contributor

@attilah attilah left a 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

@ammarkarachi ammarkarachi merged commit a6b6ad7 into aws-amplify:master May 12, 2021
@cjihrig cjihrig deleted the seriously branch May 12, 2021 14:29
@github-actions
Copy link

👋 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.

@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label May 14, 2021
cjihrig added a commit to ctjlewis/amplify-cli that referenced this pull request Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
5 participants