Updating an image by adding or replacing 'id' returns a 200 response
Bug #1439808 reported by
Luke Wollney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Niall Bunting |
Bug Description
Overview:
When a user attempts to update an image by adding 'id' as an image property, a 200 response is returned.
Steps to reproduce:
1) Create an image
2) Update the image via PATCH /images/<id> passing '[{"path": "/id", "value": "00000000-
3) Notice that a 200 accepted response is returned even though the image does not appear to be updated
Expected:
A 403 response should be returned
Actual:
A 200 response is returned and the image does not appear to be updated
Changed in glance: | |
assignee: | nobody → Fei Long Wang (flwang) |
Changed in glance: | |
assignee: | Fei Long Wang (flwang) → Niall Bunting (niall-bunting) |
Changed in glance: | |
status: | New → In Progress |
Changed in glance: | |
milestone: | none → liberty-3 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-3 → 11.0.0 |
To post a comment you must log in.
I have updated the title of this bug as updating an image by adding or replacing 'id' returns a 200. I would think that both requests should return a 403.