Add chown and chmod API to change ownership and permissions for an object.
Use these API in neutron plugin to explicitly set ownership of various
objects such as port, virtual machine, instance IP and security group to
tenant id of user invoking operation. This is needed because Nova doesn't
pass the actual user token to neutron for these operations.
Reviewed: https:/ /review. opencontrail. org/23428 github. org/Juniper/ contrail- controller/ commit/ 800a654be6d8e31 455a39af669d25f 587baa73b4
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 800a654be6d8e31 455a39af669d25f 587baa73b4
Author: Deepinder Setia <email address hidden>
Date: Tue May 17 13:48:00 2016 -0700
Add chown and chmod API to change ownership and permissions for an object.
Use these API in neutron plugin to explicitly set ownership of various
objects such as port, virtual machine, instance IP and security group to
tenant id of user invoking operation. This is needed because Nova doesn't
pass the actual user token to neutron for these operations.
Fixes-bug: #1531305
Conflicts: lib/vnc_ api.py api-server/ vnc_cfg_ api_server. py utils/rbacutil. py
src/api-
src/config/
src/config/
Change-Id: I582c68802887ea 56947d8690cdbf3 b435efd2ba1