]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Disallow regular user to update firewall's shared attribute
authorEugene Nikanorov <enikanorov@mirantis.com>
Tue, 27 May 2014 22:08:17 +0000 (02:08 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Wed, 28 May 2014 13:37:17 +0000 (17:37 +0400)
commit0f7cfee155c0e3e216b4a1425ec1fbdde6eeb296
tree586f8d007ec757529e4f8ae752eeb4a69a366cdb
parent3b9c1bd97f4755cc3011f7487ab95e9c9b845bce
Disallow regular user to update firewall's shared attribute

Shared firewalls should only be operable by  admins.
Currently only admin can provide shared attribute at firewall creation,
so update_firewall should be consistent with that as well.

Change-Id: I093743514637824207b375d724404d51f778d012
Closes-Bug: #1323322
etc/policy.json
neutron/tests/unit/services/firewall/test_fwaas_plugin.py
neutron/tests/unit/test_db_plugin.py