OK, I've verified that the patch fixes the issue on kilo. Steps ran through.
1) Configured expose_image_locations=true in the Glance charm config. 2) Manually modify the file /etc/glance/policy.json and set "get_image_location" to "role:admin". 3) Created a image as admin tenant. 4) Run glance --os-image-api-version 2 image-show id. Without the patch the following error is raised: $ glance --os-image-api-version 2 image-list 403 Forbidden: You are not authorized to complete this action. (HTTP 403) With the patch the full list of images is displayed. ** Tags removed: verification-kilo-needed ** Tags added: verification-kilo-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502136 Title: Everything returns 403 if show_multiple_locations is true and get_image_location policy is set To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1502136/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
