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

Merging multiple Policies #2

Open
drusellers opened this issue Apr 7, 2022 · 0 comments
Open

Merging multiple Policies #2

drusellers opened this issue Apr 7, 2022 · 0 comments

Comments

@drusellers
Copy link

Have you thought about how you would implement merging multiple policies? I'm looking at the AWS IAM approach, where I can have a group with multiple policies. How would I compile all of these together?

Based on what I'm seeing, I could pull out a collection of allow_me Policy objects, (ignoring the identities bit). Then I could merge the statements into one vector of Statement (have to figure out EffectOrd).

With the unified Statements everything would work. To align with IAM (which may not be a goal of the project), we would need to make sure that any Denied would override Allow.

Thank you for any thoughts.

Related Reading:

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

No branches or pull requests

1 participant