commit 285cfaf0954d4c3e320b205c288240c1828476fe
Author: Jay S. Bryant <email address hidden>
Date: Thu Nov 20 11:06:48 2014 -0600
context.elevated() should use copy.deepcopy()
Currently context.elevated is just doing a copy.copy(self).
This needs to be changed to use copy.deepcopy so that the
list reference is not shared between objects which leaves
the possibility of an admin role leak.
This fix changes context.elevated use copy.deepcopy.
Reviewed: https:/ /review. openstack. org/136061 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=285cfaf0954 d4c3e320b205c28 8240c1828476fe
Committed: https:/
Submitter: Jenkins
Branch: master
commit 285cfaf0954d4c3 e320b205c288240 c1828476fe
Author: Jay S. Bryant <email address hidden>
Date: Thu Nov 20 11:06:48 2014 -0600
context. elevated( ) should use copy.deepcopy()
Currently context.elevated is just doing a copy.copy(self).
This needs to be changed to use copy.deepcopy so that the
list reference is not shared between objects which leaves
the possibility of an admin role leak.
This fix changes context.elevated use copy.deepcopy.
Change-Id: I349c53ccbe9e02 ad2a3e84ae89742 4db9785a170
Closes-bug: 1386932