Bug 1484088

Summary: [RFE]: Able to browse different links from IPA web gui in new tabs
Product: Red Hat Enterprise Linux 8 Reporter: Ming Davies <minyu>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: frenaud, ksiddiqu, mpolovka, ndehadra, pasik, pcech, pvoborni, rcritten, ssidhaye, stsymbal, tscherf
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.0-0.1.rc1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:47:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ming Davies 2017-08-22 16:19:14 UTC
Description of problem:
IPA web gui always redirect to https://server/ipa/ui/#/e/user/search when attempt to open any links in a new tab. For example, browse to Policy-> HBAC rules -> [the actual rule], then right click the rule and select "Open Link in New Tab", it will take you to https:/server/ipa/ui/#/e/user/search rather than displaying the actual rule information.

This is a Request for Enhancement. It will be "nice to have".

Version-Release number of selected component (if applicable):


How reproducible:
Can be easily reproduced.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Often times it is useful to pop out an element (e.g. an hbac rule, or sudo rule) to view it while also comparing to other elements side-by-side  (e.g. user's memberships to groups, sudo command groups, etc).  To do this now, one must go to the other tab or window and retrace click-paths to get to the element you wish to view before returning to your original tab or window.

Comment 3 Petr Vobornik 2017-09-01 22:04:19 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7137

Comment 7 Petr Čech 2020-07-14 11:23:30 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. The request was cloned to the upstream tracker a long time ago (see link to the upstream ticket above), but it was unfortunately not given priority either in the upstream project, nor in Red Hat Enterprise Linux.

Given that this request is not planned for a close release, it is highly unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We are therefore closing the request as WONTFIX.

To request that Red Hat reconsiders the decision, please reopen the Bugzilla with the help of Red Hat Customer Service and provide additional business and/or technical details about it's importance to you. Please note that you can still track this request or even offer help in the referred upstream Pagure ticket to expedite the solution.

Comment 8 Serhii Tsymbaliuk 2020-07-14 11:37:38 UTC
In review:

https://github.com/freeipa/freeipa/pull/4667

Comment 9 Florence Blanc-Renaud 2020-07-29 15:14:12 UTC
Fixed upstream:
master:

    b25bccc WebUI: Fix issue with opening links in new tab/window
    d452e45 WebUI tests: Change navigation tests to find menu items using data-name instead of href

ipa-4-8:

    1502cb4 WebUI: Fix issue with opening links in new tab/window
    a9e3e40 WebUI tests: Change navigation tests to find menu items using data-name instead of href

Comment 24 Sumedh Sidhaye 2020-12-21 10:54:17 UTC
Build used for verification:

ipa-client-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
ipa-client-common-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-common-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-healthcheck-core-0.7-3.module+el8.4.0+9007+5084bdd8.noarch
ipa-selinux-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
ipa-server-common-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-server-dns-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-server-trust-ad-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64


============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.10.0, pluggy-0.13.1 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-264.el8.x86_64-x86_64-with-redhat-8.4-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 2 items

test_webui/test_navigation.py::test_navigation::test_url_navigation PASSED [ 50%]
test_webui/test_navigation.py::test_navigation::test_menu_navigation PASSED [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------

Comment 27 errata-xmlrpc 2021-05-18 15:47:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1846