gluon/gluon/policies
JinLi 8fefd47b22 Rule to code
This patch only moves rule definitions from policy.json to code.
Policies definitions e.g. "create_ports" or "get_ports" will
still be defined in the policy.json file.

In the future, policy definitions will be auto generated from model's
yaml files[1]. Then policy definitions will be removed from the
policy.json file.

[1] https://github.com/openstack/gluon/blob/master/doc/source/devref/gluon-auth.rst#defining-authorization-rules

Change-Id: I266ea81d1df198e775a93902984d9865fc6201a0
2017-07-13 17:07:51 -07:00
..
__init__.py Rule to code 2017-07-13 17:07:51 -07:00
base.py Rule to code 2017-07-13 17:07:51 -07:00