commit 4054cc4a22a1fea997dec76afb5646fd6c6ea6b9
Author: Russell Bryant <email address hidden>
Date: Tue Aug 20 11:06:12 2013 -0400
Enforce flavor access during instance boot
The code in the servers API did not pass the context when retrieving
flavor details. That means it would use an admin context instead,
bypassing all flavor access control checks.
This patch includes the fix, and the corresponding unit test, for both
the v2 and v3 APIs.
Reviewed: https:/ /review. openstack. org/42922 github. com/openstack/ nova/commit/ 4054cc4a22a1fea 997dec76afb5646 fd6c6ea6b9
Committed: http://
Submitter: Jenkins
Branch: master
commit 4054cc4a22a1fea 997dec76afb5646 fd6c6ea6b9
Author: Russell Bryant <email address hidden>
Date: Tue Aug 20 11:06:12 2013 -0400
Enforce flavor access during instance boot
The code in the servers API did not pass the context when retrieving
flavor details. That means it would use an admin context instead,
bypassing all flavor access control checks.
This patch includes the fix, and the corresponding unit test, for both
the v2 and v3 APIs.
Closes-bug: #1212179
Change-Id: I681ae9965e1976 7df22fa74c3315e 4e03a459d3b