Bug 1734369
| Summary: | HBAC Test Validation error when running the HBAC test the second time round via the IPA Web GUI | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ming Davies <minyu> | |
| Component: | ipa | Assignee: | Florence Blanc-Renaud <frenaud> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | ipa-qe <ipa-qe> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.6 | CC: | rcritten, stsymbal, tscherf, vvasilev | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1762723 (view as bug list) | Environment: | ||
| Last Closed: | 2019-10-17 10:34:34 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1762723 | |||
Upstream ticket: https://pagure.io/freeipa/issue/8031 Fixed upstream master: https://pagure.io/freeipa/c/4dbc6926b16b44146eef36d2f56403e2347f12c8 ipa-4-8: https://pagure.io/freeipa/c/850500c95d41b651326e253dafd0a48661ede0b7 The fix will be provided in RHEL 8 only, closing as NextRelease Upstream ticket: https://pagure.io/freeipa/issue/8031 |
Description of problem: The second run of the HBAC test via webgui ignores the username and target host despite them being select the first round and appear to be selected the second round! Version-Release number of selected component (if applicable): IPA bundled with RHEL7.6 How reproducible: The issue can easily be reproduced Steps to Reproduce: 1. Go to Policy -> HBAC -> HBAC Test 2. Select username for Who (use filter, click the radio button) -> Next 3. Select hostname on Accessing (use filter, click the radio button) -> Next 4. Select service on Via Service (sshd for example) -> Next 5. Select Include Enabled for Rules -> Next 6. Select Matched and click Run Test <<<this will display "Access Granted" or "Access Denied", which is correct 7. Click New Test on the lower right 8. For Who it's pre-selected the same username, without doing anything click Next 9. For Accessing it's pre-selected the same hostname, without doing anything click Next 10. For Via Service select different one (sudo for example) and click Next 11. For Rules click Include Enabled and click Next 12. Select Matched and click Run Test A popup window titled "Validation error" will appear, and it states: " Input form contains invalid or missing values. Missing values: User name Target host " Actual results: Expected results: Additional info: This is misleading as well as time consuming.