Cannot log in Moin wikis after renaming accounts
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Moin OpenID module |    Confirmed    |     Medium    |  Unassigned | ||
Bug Description
If you rename your account, you can't log on any Moin wiki that uses Launchpad as the OpenID provider.
The OpenID identifier stored by Moin doesn't change after an account rename, but the nickname returned by Launchpad does. And that seems to confuse Moin.
| Changed in launchpad-foundations: | |
| status: | New → Triaged | 
| Changed in moin-openid: | |
| assignee: | nobody → rowan | 
| importance: | Undecided → Medium | 
 | Rowan Kerr (rowan) wrote : | #1 | 
 | Francis J. Lacoste (flacoste) wrote : | #2 | 
That's a different URL. The moin site shouldn't appear in the list.
That's only sites you've logged in using the profile page as openid identifier.
Moin uses the identity select identifier which returns a persistent identifier (that isn't affected by rename).
 | Rowan Kerr (rowan) wrote : | #3 | 
Haven't been able to duplicate this. My user object is updated correctly in my local Moin with new nickname.
What are you using as openidrp_
Do you have a page created in Moin for your username, or just the user profile?
Can you access UserPreferences in Moin (?action=userprefs) or is there a specific error when you try to log in.
 | Andrew Glen-Young (aglenyoung) wrote : | #4 | 
Rowan,
The wikiconfig has the following:
 openidrp_
 | Francis J. Lacoste (flacoste) wrote : | #5 | 
For the other questions, I think it's a case where only the user profile is there.
I don't have any broken account to test accessing the UserPreferences though. But the error is happening whenever the user try to access any page on the wiki because the wiki is protected using ACL list. That might be a differentiating factor in the setup.
 | Rowan Kerr (rowan) wrote : | #6 | 
nickname field is good, that is what I had in my config. My nickname was updated correctly in user profile (without having username page in the wiki).
I'm no longer a member of any teams. Will have to find some to join to test the ACL part of this.
 | Rowan Kerr (rowan) wrote : | #7 | 
So, the ACL's for Teams do use user.name for access, which would explain the problem of access after renaming accounts.
| Changed in moin-openid: | |
| status: | Triaged → Confirmed | 
 | Rowan Kerr (rowan) wrote : | #8 | 
When a user changes their name, the new name is added to any Team ACL's that they belong to. So the only time I can see a problem with this if there were ACL's specified by specific user name instead of Team.
Logging in and accessing team pages both work for me when I rename my account.
Francis: can you find some specific pages that aren't accessible and see what the conditions are that block access?
 | Francis J. Lacoste (flacoste) wrote : | #9 | 
Not really.
I'll ask IS, but I think this doesn't affect a lot of people. So my feeling is that we can drop the issue.
 | Leigh Honeywell (hypatia) wrote : | #10 | 
I'm affected by this and still can't get into the wiki. I've filed a question (https:/
Thanks!
 | Andrew Glen-Young (aglenyoung) wrote : | #11 | 
Leigh, this should be fixed for you.
 | Fran Metcalfe (stu-test-lp-deactivatedaccount) wrote : | #12 | 
I've finally managed to reproduce this. It requires 2 launchpad accounts. Steps are:
 1. Log in to wiki with account 1
  2. Log out of wiki
  3. Change username of account in LP to something else.
  4. Log out of LP
  5. Log in to LP with account 2
  6. Change username of account 2 to the original username of account 1
  7. Log in to wiki with account 2
Result: "The username you have chosen is already taken. If it is your username, enter your password below to associate the username with your OpenID. Otherwise, please choose a different username and leave the password field blank."
Moin assumes you have a password on your wiki account, but it's never been set because we use only OpenID on wiki.u.c. Next step is to figure out how to fix for our users.
 | Leigh Honeywell (hypatia) wrote : | #13 | 
Hey folks,
This is now holding up my application for ops in #ubuntu-offtopic as I can't edit my wiki page. Can anyone follow up?
Thanks!
 | Gary Poster (gary) wrote : | #14 | 
I just wanted to highlight that we in Launchpad are getting a number of concerns about this issue lately. I linked all the questions I am aware of.
 | Leigh Honeywell (hypatia) wrote : | #15 | 
Just wondering if there's any update on this - my wiki access is still broken :(
 | andrew.46 (andrew.46-deactivatedaccount) wrote : | #16 | 
I feel your pain Leigh, my access has been broken for a little over 2 months now :(. My bug is linked to this one:
 | Kip Warner (kip) wrote : | #17 | 
Mine is still busted too.
 | Leigh Honeywell (hypatia) wrote : | #18 | 
Hey Rowan (and others on this bug) has there been any progress? It's been over six months since I've been able to edit the main Ubuntu wiki.
| Changed in moin-openid: | |
| assignee: | Rowan Kerr (rowan) → nobody | 
 | Joey Stanford (joey) wrote : | #19 | 
Have just IRC'd with Stu M from Canonical. He's going to look into this as time permits. It may be fixed by simply moving away from the moin-openid module and using the upstream openid code which is different. We might decide to upgrade moin from 1.6 to 1.9 first.
 | Stuart Metcalfe (stuartmetcalfe) wrote : | #20 | 
Both options are non-trivial. If we want to resolve these issues in the meantime, we're going to have to ask IS to fix the user data on wiki.u.c.
 | Kip Warner (kip) wrote : | #21 | 
My wiki login is still broken =(
 | andrew.46 (andrew-david-strong) wrote : | #22 | 
Still problems here as well...
| tags: | added: u1-support | 
If I try and rename my account in Launchpad, it gives me a scary warning that my OpenID URL will be changed. If the OpenID URL changes, it doesn't much matter what Moin does with the username .. you will likely have trouble recovering your wiki account.
How did you change your nickname without Launchpad changing your OpenID URL?