Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1757102

Summary: 'Add Allowed Address Pair' button is visible to admin role [osp15]
Product: Red Hat OpenStack Reporter: Radomir Dopieralski <rdopiera>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED CURRENTRELEASE QA Contact: Beth White <beth.white>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: athomas, jrist, knoha, rdopiera
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-15 14:52:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1710659    
Bug Blocks:    

Description Radomir Dopieralski 2019-09-30 15:00:50 UTC
This bug was initially created as a copy of Bug #1710659

I am copying this bug because: it needs a backport



Description of problem:
'Add Allowed Address Pair' button is visible to admin role

Version-Release number of selected component (if applicable):
Current openstack dashboard.

How reproducible:
Always

Steps to Reproduce:
1. Create a project whose name is test.
2. Create a user whose name is test_user and assign _member_ role to the user.
3. Login to the dashborad with test_user then create a new private network.
4. Create a port to the private network.
5. Move the port details and click address 'Allowed address pairs' tab.
6. 'Add Allowed Address Pairs' button is not visible to test_user

Actual results:
The buttons is not visible to test_user.

Expected results:
The button is visible to the user.

Additional info:
This issue is already reported to upstream.
LP: https://bugs.launchpad.net/horizon/+bug/1794421