]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add advsvc role to neutron policy file
authorKyle Mestery <kmestery@cisco.com>
Wed, 18 Jun 2014 11:04:52 +0000 (11:04 +0000)
committerKyle Mestery <mestery@mestery.com>
Mon, 27 Oct 2014 12:49:27 +0000 (12:49 +0000)
commitd4f00659eb18c6a5df2ce6d35202b0a4a9409f70
treee75fd8a46c933bca326378d3df8864d1c6441d3d
parent20f8f9422b69a1e38213e4cd449165221477a13d
Add advsvc role to neutron policy file

Add in a default "advsvc" user and the logic in the Neutron policy
infrastructure which will allow this user to create/get/update/delete
ports on other tenants networks, as well as view other tenants
networks. This is for the use case of letting advanced services have
a user to put ports on other tenants networks. By default, we do not
define any roles for the policy "context_is_advsvc", but rely on
operators to specify the likely value of "role advsvc".

DocImpact

Closes-Bug: #1331836

Change-Id: I94cb3383eb1fed793934719603f888dbbdbbd85a
Co-Authored-By: Susanne Balle <sleipnir012@gmail.com>
etc/policy.json
neutron/api/v2/base.py
neutron/context.py
neutron/db/common_db_mixin.py
neutron/db/external_net_db.py
neutron/policy.py
neutron/tests/unit/test_policy.py