Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 910472

Summary: Improve notification and validation in password reset dialogs
Product: Red Hat Enterprise Linux 7 Reporter: Namita Soman <nsoman>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: mkosek, pvoborni
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.2.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 13:17:24 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:

Description Namita Soman 2013-02-12 17:35:12 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2884

"Reset password" dialog in user page and "Set OTP" dialog in host page are using inconsistent success notification and field validation.

For required field validation and success notification they use JS alert dialog which has different style from other dialogs in web ui. In gnome shell, alert dialog is positioned on the top of the browser window so user has to move mouse a lot. 

Both dialog should leave validation on field object. Also they should use new same_password_validator.

For notification should be used message_dialog. This dialog should be opened after the first is closed to avoid dialog nesting.

Comment 1 Martin Kosek 2013-02-21 08:54:54 UTC
Fixed upstream:

master:
e433379c469ab8dba80cb76f906d794e4f61b132 Standardize login password reset, user reset password and host set OTP dialogs

Comment 2 Petr Vobornik 2013-02-21 15:21:23 UTC
upstream, ipa-3-1: 

8e3b09310e615036570ab29fb7c2d1f3009aa2b2 Standardize login password reset, user reset password and host set OTP dialogs

Comment 5 Namita Soman 2014-01-28 20:02:19 UTC
Verified using ipa-server-3.3.3-13.el7.x86_64

Steps taken:
- Access UI
- In Identity tab, edit a user
- Click on Reset Password
- Tested leaving required fields blank, passwords not matching, and got required field validation as other UI dialogs
- Successfully reset the user's password and got success notification as other UI changes.
- Next added a host and edited it
- Click on Reset One-Time-Password
- Tested leaving required fields blank, passwords not matching, and got required field validation as other UI dialogs
- Successfully reset the host's OTP and got success notification as other UI changes.

Comment 6 Ludek Smid 2014-06-13 13:17:24 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.