← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794421] Re: Add allowed address pair button is only visible to admin

 

Reviewed:  https://review.opendev.org/679967
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=87b57dfe7113da09715d5613ab9c91c15a75c189
Submitter: Zuul
Branch:    master

commit 87b57dfe7113da09715d5613ab9c91c15a75c189
Author: Shilpa Devharakar <shilpa.devharakar@xxxxxxxxxxx>
Date:   Thu Aug 22 14:29:41 2019 +0530

    Add Allowed Address Pair/Delete buttons are only visible to admin
    
    Initially In Queens, when logging into Horizon in context
    of a _member_ in any project, the "Add Allowed Address Pair"
    and "Delete" buttons in "Network" -> "Networks" ->
    <select a network> -> "Ports" -> <select a port> ->
    "Allowed Address Pairs" are not visible.
    
    When accessing the same panel in context of a project where the user
    has the admin role, the "Add" and "Delete" button is visible and
    functional.
    
    This patch fixes the above issue by updating the policy_target.
    
    Change-Id: Ia7db6c2881c72580a156eb97b11bb51f295cfbce
    Closes-Bug: #1794421


** 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/1794421

Title:
  Add allowed address pair button is only visible to admin

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In Queens (openstack-dashboard 3:13.0.1-0ubuntu1~cloud0), when logging
  into Horizon in context of a _member_ in any project, the "Add allowed
  address pair" button in "Network" -> "Networks" -> <select a network>
  -> "Ports" -> <select a port> -> "Allowed address pairs" is not
  visible.

  When accessing the same panel in context of a project where the user
  has the admin role, the "add"-button is visible and functional.

  I consider this to be a horizon/dashboard bug, beacause I am able to
  add an allowed address pair to a port with the "neutron port-update"
  command in context of a non-admin user.

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


References