]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enable users to list subnets on shared networks
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 21 Aug 2012 15:26:24 +0000 (08:26 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 21 Aug 2012 15:27:50 +0000 (08:27 -0700)
commit3dbaa356b9d0af75f5a4102d3e881ca803c895e2
treec1b1edebdf70b3b6edab7787b9bd866d5f82b4b3
parentb7f5f8e2fadb787a7de270790b347f1563d190f0
Enable users to list subnets on shared networks

Fixes bug 1039591

This patch will enable regular users to list subnets on a shared
network by exposing the subnet's "shared" attribute to the policy
engine, and letting it applying different rules if the subnet is
shared or private.

Change-Id: If204f1e352c114e16251586c743f5b7fe2d1ad7d
etc/policy.json
quantum/api/v2/attributes.py
quantum/db/db_base_plugin_v2.py
quantum/tests/unit/test_db_plugin.py