Horizon doesn't show "visibility" option under "Edit image" tab for non-admin users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Ivan Kolodyazhny |
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/
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
Changed in horizon: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Ivan Kolodyazhny (e0ne) |
description: | updated |
tags: | added: ocata-backport-potential pike-backport-potential queens-backport-potential rocky-backport-potential stein-backport-potential |
Fix proposed to branch: stable/rocky /review. opendev. org/701766
Review: https:/