-
Notifications
You must be signed in to change notification settings - Fork 59
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
As a registered user, I want to rename my username for various reasons #105
Comments
This is probably not going to be in the scope of securitas (the self-service portal), but I'm interested in knowing whether IPA can do it. If it can and we allow it (which is indeed a different story), this could go through an infra ticket. |
What would impair it being supported as a self-service feature? |
@abompard I don't know of a technical reason IPA couldn't do it, since the key is the UID and not the username. |
Actually, user entries in IPA's LDAP directory are keyed on username, this is what an ldapsearch gives me: It's possible in LDAP to rename an entry, but I don't know if IPA has an API for that. |
Hmm, do we maintain some kind of uid number mapping? |
IPA supports renaming of users:
This will rename the login uid. 389-ds also updates all relations that are tracked by referential integrity plugin.
|
Very cool, thanks @tiran ! |
|
Okay, so the question on this one is that is this something that we want to allow users to change self-service? I'm leaning towards not being self-service. |
@ryanlerch Is there a good reason for this to not be self-service? So far, nobody has made a decent rationale for it not to be. |
Rename requires administrative privileges for a reason. For one rename does not free the old user name. The old user name will stay an alias. If you allow arbitrary renames, then one user can claim an unlimited amount of user aliases. You cannot remove the aliases safely either. |
If the problem is the risk of having a unlimited amount of user aliases, then just do not make it unlimited. For example, if you let people do 1 rename per year (assuming people do not change name on average more than that), then it can be self service without any abuse that would result into having a unlimited amount of alias. |
To do that we would need to store the time of last change somewhere. Does FreeIPA store it? |
389-DS maintains the I suggest that you check the |
Thanks for the tip Christian. Here's how we could do it:
Does it sound sane? |
5 seems enough, but what happen if someone do more than that ? I did a search on wikidata, and for example Elizabeth Taylor was married 7 times, Pamela Anderson was married 4 or 5 times, just to give a few examples of women (cause there is a lot of men who got married more than 5 times, but they do not change their name). While that's unlikely (I found just a dozen of case), but that's also not impossible. I can also imagine people doing that for testing, so maybe we should also direct folks on staging for testing/demo. I bring the testing issue, since once the information is changed on noggin, then there is the question on what happen on other systems. For example, if I rename myself from misc to miscthegreat, would pagure be updated (and add "symlink/aliases", would badges be transfered ? I suspect the answer is "no", so I guess once that's done for noggin, we need to start thinking of "the rest of the world", and that's where having a process on stg would help, as I guess we might losen restriction there (or handle it differently). For example, do we want people to be able to rename the username in stg, and not in prod, etc. Another question I do have, should people be able to revert back to the old username ? |
IPA will keep the old user names as Kerberos principal names. You'll be able to get back to your old name because it's still reserved for you. An admin can remove any additional names. I recommend to keep the additional names until you are sure that all session aligned to old names are invalid. By the way IPA creates |
Hi all. Now that Noggin is deployed to production, is there an opportunity to revisit this? Or is it already possible to do in production? |
+1 would also like to rename my Fedora account, is this now possible? Couldn't find anything in the UI. |
Hey @abompard, any Updates regarding this? |
I recently logged in to Room (including "direct chat") membership is tied to the Matrix ID containing the username, and if the MXID left all rooms, there would still be question of transferring power(level) in rooms which a single server cannot change as the other servers would see that change as invalid (especially if the MXID wasn't currently in the room or not permitted to change Would that mean this is blocked by matrix-org/synapse#12174 or decoupling MXIDs from servers (matrix-org/matrix-spec#246)? |
There are a number of sociopolitical or legal reasons for needing to being able to rename usernames.
A couple of examples:
Whether Fedora itself allows it or not right now is a separate question, but it would be very bad if it's never possible to rename usernames.
The text was updated successfully, but these errors were encountered: