-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to test facts based on privilege level
Adds constants that contain what denial messages an underprivileged user may encounter for given facts. Now when testing facts, if it is a fact that's data varies based on privilege level, we only test for an exact match to the test data for privileged users, and otherwise test against the various denial messages acceptable for that fact. This commit also updates the gen_config.py script to be able to take in a new column of data in the profiles csv indicating if the profile is one with a privileged user. Now no profiles are re-used from the original config, only profiles indicated in the profiles csv are used.
- Loading branch information
Showing
7 changed files
with
353 additions
and
112 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
Oops, something went wrong.