Can not define only image creator can delete the image
Bug #1253963 reported by
Lin, Bo-Chun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Wishlist
|
Ian Cordasco |
Bug Description
We want to define that the image only can be deleted by admin or image creator.
So we modify the policy file as below:
{
"context_
"admin_
"default": "",
"manage_
"delete_image": "rule:admin_
}
But it does not work because it does not pass the user_id or other detail to the policy checker.
Changed in glance: | |
assignee: | nobody → Lin, Bo-Chun (sherry7737) |
Changed in glance: | |
status: | New → In Progress |
Changed in glance: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/57913
Review: https:/