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

Don't change roles in methods other than constructor #281

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

hakanmemisoglu
Copy link
Contributor

Change Overview

Role will be assumed in the constructor.
Changing role in other methods will cause double assume role problem and probably will give an AccessDenied problem.
Fix the problem by giving empty string as role in methods other than the constructor.

Pull request type

Please check the type of change your PR introduces:

  • Work in Progress
  • Refactoring (no functional changes, no api changes)
  • Trivial/Minor
  • Bugfix
  • Feature
  • Documentation

@hakanmemisoglu hakanmemisoglu changed the title Don't change roles in calls other than constructor. Don't change roles in calls other than constructor Sep 10, 2019
@hakanmemisoglu hakanmemisoglu changed the title Don't change roles in calls other than constructor Don't change roles in methods other than constructor Sep 10, 2019
@hakanmemisoglu hakanmemisoglu merged commit 7d56f3c into master Sep 11, 2019
@julio-lopez julio-lopez deleted the dont-change-role branch September 11, 2019 01:09
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

2 participants