keystone/keystone/policy
Anthony Washington c734b58581 Policy in code
Adding the beginning implementation for registering and using
default policy rules in code. Rules are defined in the new
policies module and added to the return list __init__.py.
Default policies can now be maintained in code and registered
via listing mechanisms in the policies module. As we go, we
can remove the duplicated default policies from our policy.json
file.

This commit specifically:
- Creates a new module called `policies` to hold our in code defaults.
- Ensure we pass our in code policy list to our policy ENFORCER.
- Add base policy module for common policy rules.
- Add service default policy module for policy rules.
- Add endpoint default policy module for policy rules.
- Add regions default policy module for policy rules.

partially-implements blueprint policy-in-code
Co-Authored-By: Richard Avelar csravelar@gmail.com
Change-Id: Ic47b1e8b0d479032d8a7b9891ed9800be7036d94
2017-03-22 22:19:58 +00:00
..
backends Policy in code 2017-03-22 22:19:58 +00:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Pass initiator to Manager as a kwarg 2016-10-07 15:20:45 +00:00
core.py Remove stable driver interfaces 2016-09-28 17:18:37 +00:00
routers.py Change the sub-routers to provide JSON Home data 2014-08-26 09:57:15 -05:00
schema.py Implement validation on Policy V3 API 2014-08-31 03:39:49 -04:00