Bug 1002337 - An added identity cannot be removed on an Internal+OpenID auth server
An added identity cannot be removed on an Internal+OpenID auth server
Product: Zanata
Classification: Community
Component: Authentication-OpenID (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: zanata-dev-internal
Zanata-QA Mailling List
Depends On:
  Show dependency treegraph
Reported: 2013-08-28 19:28 EDT by Damian Jansen
Modified: 2014-07-23 23:04 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-07-23 23:04:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Damian Jansen 2013-08-28 19:28:11 EDT
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):

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-23 23:04:01 EDT
Fixed by the dashboard/settings rework

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