← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1859041] Re: Horizon doesn't show "visibility" option under "Edit image" tab for non-admin users

 

Maring this as Fix Released as a fix has been merged into the latest
branch (stable/stein in this case).

** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1859041

Title:
  Horizon doesn't show "visibility" option under "Edit image" tab for
  non-admin users

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  After changibg the glance  policy.json rule "publicize_image": "" both
  in horizon and glance, and after that user is able to set the private
  image to public via CLI but when done through dashboard, “Edit image”
  doesn’t show the visibility option to set the image to public for
  users with any other role except “admin”. User is able to create
  public images via horizon but not edit the image to public.

  1.Update the glance  policy.json rule "publicize_image" similar to
  "publicize_image": "", 2.Update the policy for glance in horizon to
  the same on prx0* nodes under /usr/share/openstack-
  dashboard/openstack_dashboard/conf/glance_policy.json3. Login to
  horizon as non-admin/memeber user in to a project and create a image
  and set the visibility to public.4. Try to edit the image to set the
  visibility to private. "visibility" option is not seen.

  Expected result:Should be able to get the "visibility" option and set
  the image to either public or private depending on user choice.

  Actual result:"Visibility" Option doesn't appear on horizon under
  "Edit image"

  Affected versions: starting ocata till stein

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


References