]> 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)
committerStephen Ma <stephen.ma@hp.com>
Tue, 28 Jan 2014 05:48:34 +0000 (05:48 +0000)
commite4836bd08c5cc86090116bf79566bee5082edc82
tree13d620ae0331c54c85818d399c886aac33662707
parent49efd608d395ecede1f8074d17c6a8230ffbb1c6
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