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

Consider resources (naive approach) #16

Closed
wants to merge 2 commits into from

Conversation

danielpops
Copy link
Contributor

This is a naive approach to partially fix #15. It prevents incorrect removal of allowed_actions by only removing a Deny action if it applies to * resources. There are problems with this approach, it's incomplete, etc. A more complete solution would be to implement #2 and cover all of the tricky inverse action/resource scenarios.

…(useful in debugging or even just getting a sense of the overprovisioning)
@0xdabbad00
Copy link
Collaborator

Looks like we worked on a solution for this simultaneously. I'm going to close this out in favor of the one I just did, as I took conditions into consideration as well, along with creating some unit tests for this issue.

@0xdabbad00 0xdabbad00 closed this Mar 9, 2018
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.

Privileges::determine_allowed should consider resources
2 participants