disallow non-admin search for soft-delete instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
jichenjc |
Bug Description
search deleted instance is only for admin.
So we should disallow non-admin search for deleted and soft_deleted instances
$ curl -g -i -X GET http://
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 15
X-Openstack-
Vary: X-OpenStack-
X-Compute-
Date: Tue, 15 Dec 2015 16:34:36 GMT
{"servers": []}
$
2015-12-15 11:34:35.991 DEBUG nova.compute.api [req-15a68220-
Changed in nova: | |
assignee: | nobody → jichenjc (jichenjc) |
tags: | added: api |
Changed in nova: | |
status: | Opinion → In Progress |
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/258472
Review: https:/