Bug 1554882

Summary: Password is sent twice from UI when user is created/edited
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-uiAssignee: Nishanth Thomas <nthomas>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Balák <fbalak>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: rhs-bugs
Target Milestone: ---Keywords: 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-04-17 08:11:07 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 Filip Balák 2018-03-13 14:12:37 UTC
Description of problem:
In user administration in UI is password sent via API twice when is created new user or edited existing user. API calls that are sent by API are described in BZ 1515213.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.6.1-2.el7rhgs.noarch
tendrl-api-1.6.1-1.el7rhgs.noarch
tendrl-api-httpd-1.6.1-1.el7rhgs.noarch
tendrl-commons-1.6.1-1.el7rhgs.noarch
tendrl-grafana-plugins-1.6.1-1.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch
tendrl-node-agent-1.6.1-1.el7rhgs.noarch
tendrl-notifier-1.6.0-1.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.1-1.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. Log in to Tendrl and open user administration.
2. Open some tool like firebug that shows what API calls are called on site.
3. Create new user.
4. Edit existing user.

Actual results:
In API calls sent from UI are 2 parameters: `password` and `password_confirmation`.

Expected results:
There should be only parameter `password` and confirmation that there are provided two identical passwords should be done by frontend. Parameter `password_confirmation` is unnecessary.

Additional info:
BZ 1515213

Comment 2 Yaniv Kaul 2019-04-17 07:38:25 UTC
Does it affect the user experience somehow?

Comment 3 Filip Balák 2019-04-17 08:11:07 UTC
I have tested this now and the issue is fixed in current released version. Both API and UI are fixed.
--> CLOSED CURRENTRELEASE

Tested with:
    RHGS WA Server
    carbon-selinux-1.5.4-3.el7rhgs.noarch
    collectd-5.7.2-3.1.el7rhgs.x86_64
    collectd-ping-5.7.2-3.1.el7rhgs.x86_64
    etcd-3.2.7-1.el7.x86_64
    grafana-4.6.4-1.el7rhgs.x86_64
    graphite-web-1.1.4-1.el7rhgs.noarch
    libcollectdclient-5.7.2-3.1.el7rhgs.x86_64
    python-carbon-1.1.4-1.el7rhgs.noarch
    python-etcd-0.4.5-2.el7rhgs.noarch
    rubygem-etcd-0.3.0-2.el7rhgs.noarch
    tendrl-ansible-1.6.3-11.el7rhgs.noarch
    tendrl-api-1.6.3-13.el7rhgs.noarch
    tendrl-api-httpd-1.6.3-13.el7rhgs.noarch
    tendrl-commons-1.6.3-17.el7rhgs.noarch
    tendrl-grafana-plugins-1.6.3-21.el7rhgs.noarch
    tendrl-grafana-selinux-1.5.4-3.el7rhgs.noarch
    tendrl-monitoring-integration-1.6.3-21.el7rhgs.noarch
    tendrl-node-agent-1.6.3-18.el7rhgs.noarch
    tendrl-notifier-1.6.3-4.el7rhgs.noarch
    tendrl-selinux-1.5.4-3.el7rhgs.noarch
    tendrl-ui-1.6.3-15.el7rhgs.noarch
     
    Storage server
    collectd-5.7.2-3.1.el7rhgs.x86_64
    collectd-ping-5.7.2-3.1.el7rhgs.x86_64
    glusterfs-3.12.2-47.el7rhgs.x86_64
    glusterfs-api-3.12.2-47.el7rhgs.x86_64
    glusterfs-cli-3.12.2-47.el7rhgs.x86_64
    glusterfs-client-xlators-3.12.2-47.el7rhgs.x86_64
    glusterfs-events-3.12.2-47.el7rhgs.x86_64
    glusterfs-fuse-3.12.2-47.el7rhgs.x86_64
    glusterfs-geo-replication-3.12.2-47.el7rhgs.x86_64
    glusterfs-libs-3.12.2-47.el7rhgs.x86_64
    glusterfs-rdma-3.12.2-47.el7rhgs.x86_64
    glusterfs-server-3.12.2-47.el7rhgs.x86_64
    gluster-nagios-addons-0.2.10-2.el7rhgs.x86_64
    gluster-nagios-common-0.2.4-1.el7rhgs.noarch
    libcollectdclient-5.7.2-3.1.el7rhgs.x86_64
    libvirt-daemon-driver-storage-gluster-4.5.0-10.el7_6.6.x86_64
    python2-gluster-3.12.2-47.el7rhgs.x86_64
    python-etcd-0.4.5-2.el7rhgs.noarch
    tendrl-collectd-selinux-1.5.4-3.el7rhgs.noarch
    tendrl-commons-1.6.3-17.el7rhgs.noarch
    tendrl-gluster-integration-1.6.3-15.el7rhgs.noarch
    tendrl-node-agent-1.6.3-18.el7rhgs.noarch
    tendrl-selinux-1.5.4-3.el7rhgs.noarch
    vdsm-gluster-4.19.43-2.3.el7rhgs.noarch