]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Deprecate "extension:xxx" policies but preserve bw compatibility
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 14 May 2013 23:46:13 +0000 (01:46 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 16 May 2013 14:17:50 +0000 (16:17 +0200)
commit839cd5da5c013b77330acbe7ad9ad98c8f12c03a
tree98eaf1d94c26a416174ff0059dc47292c449b4a8
parent6e0f9c1b9f5ebd0d1eb44b9d42961e3cc22fe1e6
Deprecate "extension:xxx" policies but preserve bw compatibility

Blueprint make-authz-orthogonal

Patch #4 for this blueprint.
With this change, if policies starting with 'extension' are still
present in policy.json, a deprecation warning will be emitted, and
the policy will be translated in the corresponding, new-style,
policy(ies).

Change-Id: Iccf0f36cc2547c35c66854b8a3fdb7185b5214bd
quantum/policy.py
quantum/tests/unit/test_policy.py