1. Sebastian Sebastian
  2. scm-manager
  3. Issues


Issue #207 resolved

allow for renaming 'Name' of user

Tobias Verbeke
created an issue

Currently the Name field of a user cannot be changed once it is defined.

This means that for a user olduser whose name needs to be changed into newuser, one needs to add a new user newuser manually add permissions on all repositories on which olduser had rights: add newuser with appropriate rights, remove olduser * delete the olduser user

A computer will be much better at doing this for 30 repositories per user than I am.. ;-)

Is it safe/sufficient to find and replace in the repositories.xml and users.xml file for this purpose (as a temporary workaround)?

FYI the context is migration from internal authentication to LDAP authentication where a couple of usernames have been made to follow consistent rules in LDAP that were a bit looser in the original internal authentication.

Comments (6)

  1. Sebastian Sebastian repo owner

    I've created a test version of the userrename plugin. Could you please test this version:

    Install test version:

    • Login in as administrator
    • Open Config->General
    • Change "Plugin Repository" parameter snapshot from false to true
    • Open Plugins
    • Install version 1.0-SNAPSHOT of scm-userrename-plugin
    • Restart your applicationserver

    You should see a rename button in the user overview.

  2. Tobias Verbeke reporter

    Rename operation works perfectly fine: I renamed, logged out and logged in again with the new name without problems and tested this successfully 5 times renaming 3 different names.

    Great job!

  3. Log in to comment