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 sns.add_permission & remove_permission #2517

Merged
merged 1 commit into from Oct 29, 2019

Conversation

gruebel
Copy link
Contributor

@gruebel gruebel commented Oct 25, 2019

The whole permission handling was wrongly implemented. If you add or remove a permission it changes the access policy of the topic. I also changed the default policy to the correct one and create it with the correct region and account id. Additionally I added more tests and some extra error handling.

@coveralls
Copy link

coveralls commented Oct 25, 2019

Coverage Status

Coverage decreased (-0.02%) to 93.582% when pulling 6b7294a on edekadigital:fix-sns-permissions into 6b67002 on spulec:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 93.549% when pulling 6b7294a on edekadigital:fix-sns-permissions into 6b67002 on spulec:master.

@mikegrima
Copy link
Collaborator

Looks great!

@mikegrima mikegrima merged commit 513f6d5 into getmoto:master Oct 29, 2019
@gruebel gruebel deleted the fix-sns-permissions branch November 1, 2019 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants