Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional param to policy.RuleDefault
This patch adds the needed subclass to define policy objects that now require the description and operations parameters. The operations parameter when defining a policy rule should follow the below format. - operations : list of dicts containing the api url and verb. Ex : operations=[{path='/some/url/', method='GET'}] This change make sure operators have all the information needed in a centralized location in order to make decisions and understand the purpose of a certain policy. Change-Id: Ie9b335420394166bb39c43e3d26fcc9237ffd1a0
- Loading branch information
Anthony Washington
committed
Mar 15, 2017
1 parent
0a5112c
commit a95606c
Showing
2 changed files
with
143 additions
and
0 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