Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming Launchpad account breaks Charm Store account #870

Open
digitalrane opened this issue Feb 18, 2019 · 3 comments
Open

Renaming Launchpad account breaks Charm Store account #870

digitalrane opened this issue Feb 18, 2019 · 3 comments
Labels

Comments

@digitalrane
Copy link

Renaming your user account in Launchpad results in no longer being able to access your charm store account, and the contents of it, including any group-based memberships.

For example, I recently renamed my launchpad from jhebden to ec0, and I lost access to everything under cs:~jhebden, and cs:~pirate-charmers, a group which I am an admin of.

Ideally, renaming a launchpad account would rename the charmstore account. Failing that, being able to rename or recover your charm store account somehow manually would be an acceptable workaround.

Also, if anyone would be able to look into my specific account and manually fix up the launchpad and charm store association, that would be much appreciated.

@mhilton
Copy link
Contributor

mhilton commented Feb 21, 2019

hi @devec0 We've updated your username in the system which should get you access to ~pirate-charmers again. ~jhebden is a little trickier. If you want to keep access to the namespace I suggest you create a luanchpad team with that name and put yourself in it. that would leave everything the same. Otherwise we can rename all the charms so that they are under the cs:~ec0 namespace instead.

@digitalrane
Copy link
Author

Thanks @mhilton - there's nothing in ~jhebden that I don't have the sources for, and I'm fairly sure I'm the only one using charms pushed there. If it's not too much trouble to rename them so they end up under ~ec0 though, that would be really helpful, and would clean up ~jhebden, which honestly can just be deleted if possible.

@rogpeppe rogpeppe added the bug label Mar 7, 2019
@rogpeppe
Copy link
Contributor

rogpeppe commented Mar 7, 2019

Unfortunately this issue is very hard to solve in general currently, as launchpad usernames are used as primary keys inside the charmstore database. We are looking into providing a script to make it easier to change this in specific cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants