-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate 'target' to a list of origins
This patch replaces 'cascade' and 'self' with '*' and an array of origins, which should allow us to cleanly support cases where the top-level wishes to deny itself some capability, while allowing it for embedded contexts. Addresses #12. Closes #13.
- Loading branch information
Showing
1 changed file
with
38 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62afb25
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
62afb25
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, do we need an extra state for
self
? That is, this policy applies to top-level context only?