← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 625120] Re: Wrong Launchpad ID when changed "name"

 

<dholbach> I'm not sure I understand. Let's say I rename my LP ID from A to B, the directory knew that A was the admin of a team before, but with the next cronjob run it knows that B is an admin and after logging out and logging back in again, B should be logged in and have the right permissions?
<stuartm> right. except the openid auth doesn't seem to be detecting to the change to B so it thinks I'm still A
<dholbach> why is that? if I give it my email address and everything, why doesn't it pass back B as username?
<dholbach> maybe I'm a bit thick today, it's Friday :)
<stuartm> dholbach: the directory should do an openid lookup against the new username. this is available from the <head> of launchpad.net/~<username>
<stuartm> so if you look at the source of https://launchpad.net/~dholbach , a little way down you'll see https://login.launchpad.net/+id/htDDpRh which is your real (unchanging) openid
<stuartm> the openid lib has code which does that already. I'll pastebin something for you
<dholbach> aha!
<dholbach> thanks a lot
<stuartm> dholbach: http://pastebin.ubuntu.com/484405/
<dholbach> thanks a bunch stuartm! mind if I add the last snippet of our conversation to the bug?
<stuartm> that way you can cross-reference your perms updates with the openid which is stored on your system. because of the way you're using lp login (you should be using ubuntu sso btw ;) ) the openid won't change even if the username does
<stuartm> dholbach: sure
* dholbach hugs stuartm
<dholbach> thanks muchly

-- 
Wrong Launchpad ID when changed "name"
https://bugs.launchpad.net/bugs/625120
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.

Status in LoCo Directory: Confirmed

Bug description:
Hi!
By example, you have a Launchpad ID: https://launchpad.net/~my_name. You're ownership of a LoCo team and you will be "Logged in as: my_name" in the footer of http://loco.ubuntu.com.

And you choose here: https://launchpad.net/~my_name/+edit another "name" (The field is: "A short unique name, beginning with a lower-case letter or number, and containing only letters, numbers, dots, hyphens, or plus signs"). 
By example, you will choose "my_new_name", then your new Launchpad ID will be: https://launchpad.net/~my_new_name

The bug is: You will see again "Logged in as: my_name" in the footer of http://loco.ubuntu.com, it must be "Logged in as: my_new_name", and you will LOSE the ownership of your LoCo Teams for change the LoCo details.

Best regards and thanks.





References