Bug 978618 - Accidental broken feature - admin can change usernames
Summary: Accidental broken feature - admin can change usernames
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Authentication-Internal
Version: development
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
: 3.5
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
: 978622 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-26 23:51 UTC by Damian Jansen
Modified: 2015-01-26 23:28 UTC (History)
1 user (show)

Fixed In Version: 3.5.0-SNAPSHOT (git-server-3.4.1-69-g89bfd75)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-26 23:28:03 UTC


Attachments (Terms of Use)

Description Damian Jansen 2013-06-26 23:51:39 UTC
Description of problem:
If an administrator changes a user's login username and password in the same action, they will be unable to log in ("Login failed").

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

How reproducible:
Easily, Always

Steps to Reproduce:
1. Log in as admin
2. Change a user username and password
3. Press Save
4. Logout
5. Attempt to log in as that user with the new credentials

Actual results:
Error, "Login Failed"

Expected results:
User is logged in

Additional info:
Does not seem to occur if the username and password are set in different account save actions. Changing the password again after the account is broken fixes the login.

Comment 1 Damian Jansen 2013-06-28 01:49:04 UTC
Bug was "Changing a user's username and password in the same step breaks their login"

The bug is being able to change a user's username at all.

Make field read-only!

Comment 2 Damian Jansen 2013-06-28 01:51:06 UTC
*** Bug 978622 has been marked as a duplicate of this bug. ***

Comment 3 Alex Eng 2014-05-28 23:30:41 UTC
Pull request:
https://github.com/zanata/zanata-server/pull/473

Comment 4 Damian Jansen 2014-06-11 05:56:44 UTC
Is good.


Note You need to log in before you can comment on or make changes to this bug.