Roadmap: [Docker Hub] Add ability to rename/delete user accounts

Created on 26 Mar 2020  Â·  4Comments  Â·  Source: docker/roadmap

Tell us about your request
Users should be able to rename or delete their user accounts.

Which service(s) is this request for?
Docker Hub

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
See https://github.com/docker/hub-feedback/issues/11

Are you currently working around the issue?
NA

Additional context
NA

community_new docker_hub

Most helpful comment

I think it's related, but I'm suggesting something slightly different. There are benefits a rename could/would provide that converting to an organization would not (such as the semi-new "Pushed by so-and-so" text that appears on tags being updated to the new username), so I'm suggesting that as an intermediate step, this could be implemented without having proper redirects by allowing users to essentially rename-current-user-and-create-an-organization-for-old-username in one step.

Imagine I've got jsmith/foo and jsmith/bar pushed, and the tags page lists that the images were "Pushed by jsmith" but now I want to rename myself to "ksmith" and I want to ensure all the references to my user are updated -- my suggestion is that "rename user jsmith to ksmith + create organization jsmith to keep the existing jsmith repos" could be an intermediate step before redirects are available (and possibly simpler to implement, although I'm not familiar with the data structures of the Hub behind the scenes). :sweat_smile:

In this example, jsmith/foo and jsmith/bar would still exist, and my new "ksmith" user would still be the owner (by virtue of being the owner of the newly created "jsmith" organization), but they would say "Pushed by ksmith" in their tags.

There are also user accounts that don't have any repos of their own and only push to organizations or other users' repos for whom a rename should be much simpler (especially if they don't care about the old username but simply want to update references to their user across the Hub) -- this is the situation that brought me to looking this up in the first place. :sweat_smile:

All 4 comments

There are technical reasons why this isn't trivial (renaming repos, etc without a real "redirect" ability for docker pull like what GitHub can do on renames), but perhaps offering to automatically create an organization with the old username (especially if there are repos that would be affected) would be an OK compromise to at least that issue?

(I went to go find the setting to rename a user account today and was surprised to find it didn't exist yet :sweat_smile:)

There are technical reasons why this isn't trivial (renaming repos, etc without a real "redirect" ability for docker pull like what GitHub can do on renames),

IMHO this is must have before providing renaming feature.

but perhaps offering to automatically create an organization with the old username (especially if there are repos that would be affected) would be an OK compromise to at least that issue?

@tianon We've convert user to org feature that does this. https://hub.docker.com/support/doc/how-do-i-convert-my-docker-hub-user-account-into-an-organization-account . Did you mean something else?

I think it's related, but I'm suggesting something slightly different. There are benefits a rename could/would provide that converting to an organization would not (such as the semi-new "Pushed by so-and-so" text that appears on tags being updated to the new username), so I'm suggesting that as an intermediate step, this could be implemented without having proper redirects by allowing users to essentially rename-current-user-and-create-an-organization-for-old-username in one step.

Imagine I've got jsmith/foo and jsmith/bar pushed, and the tags page lists that the images were "Pushed by jsmith" but now I want to rename myself to "ksmith" and I want to ensure all the references to my user are updated -- my suggestion is that "rename user jsmith to ksmith + create organization jsmith to keep the existing jsmith repos" could be an intermediate step before redirects are available (and possibly simpler to implement, although I'm not familiar with the data structures of the Hub behind the scenes). :sweat_smile:

In this example, jsmith/foo and jsmith/bar would still exist, and my new "ksmith" user would still be the owner (by virtue of being the owner of the newly created "jsmith" organization), but they would say "Pushed by ksmith" in their tags.

There are also user accounts that don't have any repos of their own and only push to organizations or other users' repos for whom a rename should be much simpler (especially if they don't care about the old username but simply want to update references to their user across the Hub) -- this is the situation that brought me to looking this up in the first place. :sweat_smile:

+1 ∞

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pkennedyr picture pkennedyr  Â·  3Comments

iben12 picture iben12  Â·  6Comments

rfay picture rfay  Â·  3Comments

abhaykeerthy12 picture abhaykeerthy12  Â·  5Comments

ollypom picture ollypom  Â·  5Comments