force detach should be an admin api as force delete api
Bug #1303882 reported by
ling-yun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Jay Bryant |
Bug Description
Since force delete apis are the admin api, force detach volume api should be the admin api too as force delete apis which should only be used by maintainers.
Now this patch make force detach volume api as the admin api.
Changed in cinder: | |
assignee: | nobody → ling-yun (zengyunling) |
Changed in cinder: | |
assignee: | ling-yun (zengyunling) → Jay Bryant (jsbryant) |
Changed in cinder: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Hi Ling-yun, thanks for the report. I'm not sure I understand completely, but the force-detach call is for admins only with the authorize check https:/ /github. com/openstack/ cinder/ blob/milestone- proposed/ cinder/ api/contrib/ admin_actions. py#L139