Listing all flavors is hard coded for admin

Bug #1796599 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Wishlist
Unassigned

Bug Description

Currently listing all flavors, including disabled and non public flavors is hard coded to only allow context.is_admin.

This should be controller by policy so operators can allow other roles to list these type of flavors too.

Tags: api policy
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/608474

Changed in nova:
assignee: nobody → Sam Morrison (sorrison)
status: New → In Progress
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Wishlist
tags: added: api policy
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Matt Riedemann (<email address hidden>) on branch: master
Review: https://review.opendev.org/608474
Reason: Seems as though we can't agree on a path forward here, I'm assuming Sam's head exploded long ago and just pulled this down for his cloud anyway.

Matt Riedemann (mriedem)
Changed in nova:
status: In Progress → Confirmed
assignee: Sam Morrison (sorrison) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.