blazar/climate/api
sbauza 8443312186 Policy management for Climate
Implements policies in Climate with unittests based on Oslo.
Tight integration with Context as it will populate to Context
if user is admin or not based on policy.json

In order to make that work, please add policy.json to /etc/climate

Decorator @policy.authorize allows enforcing policy checks on
controllers.

Implements bp:climate-policy

Change-Id: I94e8fa142e5c5d830b0bea9278e5a47f9904db4c
2014-01-07 12:31:39 +01:00
..
oshosts Policy management for Climate 2014-01-07 12:31:39 +01:00
__init__.py Remove empty copyright headers 2013-12-03 11:30:27 +01:00
app.py Add Host Reservation Admin API 2013-12-03 10:48:00 +01:00
context.py Refactor context module to make it more flexible 2013-11-25 14:10:23 +04:00
service.py Policy management for Climate 2014-01-07 12:31:39 +01:00
utils.py Fix API exceptions handling for message and error code 2013-11-28 14:12:36 +01:00
v1_0.py Change api.service to use a class, fix validations in api 2013-10-28 18:23:00 +04:00
validation.py Fix API exceptions handling for message and error code 2013-11-28 14:12:36 +01:00