← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1153613] Re: Add a policy to control setting 'location' parameter

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1153613

Title:
  Add a policy to control setting 'location' parameter

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  It might be useful to have a policy to control whether the 'location'
  field can be set or not, eg:

  $ cat /etc/glance/policy.json
  {
      "default": "",
      "manage_image_cache": "role:admin",
      "publicize_image": "role:admin",
      "set_image_location": "role:admin" <<<
  }

  this would allow an operator to enable/disable the x-image-meta-
  location functionality for regular users, and if desired, prevent
  'external' image data being referenced.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1153613/+subscriptions