]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disallow non-admin users update net's shared attribute
authorStephen Ma <stephen.ma@hp.com>
Mon, 20 Jan 2014 15:48:28 +0000 (15:48 +0000)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:12 +0000 (15:20 +0800)
commit917ca4f404fa906c50bbbaa79df3cb4c8e3e7f10
tree06efc333bb0ce7f6c5c63e76aef33264ad168485
parent5b5fff260bb83943d7dc9987645623edd5cdb03d
Disallow non-admin users update net's shared attribute

Currently non-admin user cannot create a network with
shared=True. But the user can create the network and then
change the shared attribute to True.

This patch will no longer allow non-admin user to update a
network's shared value to True.

Change-Id: Id596ee399c56b9882efab97a89dbf7d14c5cf7f4
Closes-Bug: 1268823
etc/policy.json
neutron/tests/unit/test_db_plugin.py