forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take into account downgrade privilege when reading
Previously downgrade was only allowed when writing to lower labels, but not when reading from higher labels. This makes both possible, relying on the same underlying Node privilege. Credit to @aferr for the explanation and suggestions on how to implement it, and also link to the relevant Slack discussion, for reference: https://project-oak.slack.com/messages/CHE9E13C3/p1590712037024800?thread_ts=1590660390.016600 Ref project-oak#630
- Loading branch information
Showing
2 changed files
with
109 additions
and
24 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
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