Comment 12 for bug 881019

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 881019] Re: Lp login is broken after account merge

It is on our todo list to use the team information from the OpenID
response directly in gerrit. Once we do that, I can stop having to do
the batch create of user accoutns in gerrit. However, that means a Java
patch to Gerrit core, so it's probably not going to get done tomorrow. :)

In terms of API additions, team info for a given OpenID identifier would
not be useful - what I need is to get via the API is the OpenID
identifier for a given user. If I could get that, I could stop
screen-scraping.

Thanks!
Monty

On 01/19/2012 02:33 PM, William Grant wrote:
> The problem here is really OpenStack's gerrit plugin thing for LP team
> integration. It appears to have a cronjob that pulls all members of a
> Launchpad team, screenscrapes their delegated identity from
> Person:+index, and adds a permission for that identifier. This doesn't
> work well for LP accounts with multiple identifiers, usually from a
> person or SSO account merge, as the delegated identifier may not match
> the identity of the primary SSO account.
>
> We probably want to expose an API in Launchpad to allow retrieval of
> team information for a given OpenID identifier, but the correct thing
> for gerrit to do in the current environment is use the team information
> from the OpenID response.
>