Bug 1002337 - An added identity cannot be removed on an Internal+OpenID auth server
Summary: An added identity cannot be removed on an Internal+OpenID auth server
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Zanata
Classification: Retired
Component: Authentication-OpenID
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: zanata-dev-internal
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-28 23:28 UTC by Damian Jansen
Modified: 2014-07-24 03:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-07-24 03:04:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Damian Jansen 2013-08-28 23:28:11 UTC
Description of problem:
If a server is set up to be internal auth + openID, a user who has signed up with internal but then added an OpenID identity cannot remove that identity

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

How reproducible:
Easy always

Steps to Reproduce:
Pre: Server is set to internal + openID authentication methods
1. Sign up to zanata using internal authentication
2. Go to Sidebar->Settings->Manage identities
3. Press Add identity
4. Sign in with an openID
5. View the identities page

Actual results:
No delete button for the added identity

Expected results:
The identity should be delete-able

Additional info:
A quick hack of the .size gt 1 test in identities.xhtml allows this identity to be deleted, without visible problems. Of course, allowing this on an account without an internal auth means the account is no longer accessible.
If possible, a better test would be "has internal auth || size gt 1".

Comment 1 Damian Jansen 2014-07-24 03:04:01 UTC
Fixed by the dashboard/settings rework


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