Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a way to block newly added permissions from repo
This commit adds a new feature that detects newly added permissions and adds them to a list. The temporary block period is configurable. When permissions are scanned any that are new from the last policy version are added to 'NoRepoPermissions'. Expired entries are removed during update, but any that are expired will be ignored from _get_repoable_permissions. Also fix a bug where sometimes when adding a new policy the new policy version wouldn't get added at the right place.
- Loading branch information
Travis McPeak
committed
Jul 6, 2017
1 parent
0886eeb
commit 0678d32
Showing
4 changed files
with
108 additions
and
14 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
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