Admin can update metadata of a deleted image
Bug #1060930 reported by
Rohit Karajgi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Unmesh Gurjar | ||
Folsom |
Fix Released
|
Medium
|
Brian Waldon | ||
Grizzly |
Fix Released
|
Medium
|
Unmesh Gurjar | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
An admin user has the right to see deleted images. However he does not need to update image metadata
of a deleted image. Currently this is possible, and I think it should be disabled.
Steps to Reproduce:
1. Delete an Image
2. Update the image's metadata as an admin.
Expected result:
403 Forbidden or an appropriate response.
404 NotFound could be returned but an admin can see deleted images so it may be inappropriate.
Actual result:
200 OK, and the image's metadata can get updated.
Related branches
lp://staging/~gandelman-a/ubuntu/quantal/glance/2012.2.1
- Openstack Ubuntu Testers: Pending requested
-
Diff: 86 lines (+55/-2)2 files modifieddebian/changelog (+53/-1)
debian/control (+2/-1)
CVE References
summary: |
- Admin can perform operations on a deleted image + Admin can update metadata of a deleted image |
Changed in glance: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → grizzly-1 |
Changed in glance: | |
assignee: | Unmesh Gurjar (unmesh-gurjar) → nobody |
Changed in glance: | |
assignee: | nobody → Chetan Kumar (chetan-kumar) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → Fix Released |
Changed in glance (Ubuntu Quantal): | |
status: | New → Confirmed |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/14604
Review: https:/