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

feat(iam): CompositePrincipal and allow multiple principal types #1377

Merged
merged 6 commits into from
Dec 18, 2018

Commits on Dec 17, 2018

  1. fix(iam): allow multiple principal types

    Relax constraint on IAM policy statement principals such
    that multiple principal types can be used in a statement.
    
    Also, the `CompositePrincipal` class can be use to construct
    `PolicyPrincipal`s that consist of multiple principal types
    and conditions.
    
    Backfill missing addXxxPrincipal methods.
    
    Deprecate (soft) `Anyone` in favor of `AnyPrincipal`.
    Elad Ben-Israel committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    b1b1193 View commit details
    Browse the repository at this point in the history
  2. CR fixes

    Elad Ben-Israel committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    5056fff View commit details
    Browse the repository at this point in the history
  3. Do not change immutability status of assumeRoleAction

    Elad Ben-Israel authored Dec 17, 2018
    Configuration menu
    Copy the full SHA
    14ee661 View commit details
    Browse the repository at this point in the history
  4. Remove trailing whitespace

    Elad Ben-Israel authored Dec 17, 2018
    Configuration menu
    Copy the full SHA
    6beb728 View commit details
    Browse the repository at this point in the history
  5. Add integ test for multi-principal role

    Elad Ben-Israel committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    b754ed8 View commit details
    Browse the repository at this point in the history
  6. Do not allow conditions on CompositePrincipal

    Elad Ben-Israel committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    1b10d32 View commit details
    Browse the repository at this point in the history