Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7645

Allow Unicode characters in user slug

    XMLWordPrintable

Details

    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      A user containing Unicode characters (e.g., "ñ") in the slug causes trouble both for browsing and cloning. For example, currently you are allowed to create a user with slug daureña but then some operations involving this user work, and some don't:

      Web access

      Works

      Doesn't work

      Works

      Doesn't Work

      Renaming a user will return "The user could not be renamed":

      Saving changes in the user details will return "The server didn't respond. You may retry your request when the server comes back up":

      Changing the password will return "The password could not be changed":

      When accessing the Global Permissions, the list of users and group will not load:

      Workaround

      Rename the user so that the slug contains only ASCII characters.

      Alternative workaround

      If the user cannot be renamed via the user interface:

      1. Logout from Bitbucket Server
      1. use the following query to update the SYS.ADMIN user
        Always back up your data before performing any modifications to the database. If possible, test any insert, update, or delete SQL commands on a staging server first.
        UPDATE sta_normal_user
        SET name = '<your_name>', slug = '<your_slug>'
        WHERE user_id = '<user_id>'
        
        

      Attachments

        1. BSERV7645_renameuser.png
          BSERV7645_renameuser.png
          68 kB
        2. BSERV7645_savepassword.png
          BSERV7645_savepassword.png
          51 kB
        3. BSERV7645_savechanges.png
          BSERV7645_savechanges.png
          141 kB
        4. BSERV7645_renameuser.png
          BSERV7645_renameuser.png
          40 kB
        5. BSERV7645_globalpermissions.png
          BSERV7645_globalpermissions.png
          109 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cszmajda Cristan Szmajda (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: