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

Enabled users cannot be edited when sharing username with disabled users in separate user directories

    XMLWordPrintable

Details

    Description

      Issue Summary

      This issue occurs with the following conditions:

      • Bitbucket has multiple user directories enabled
      • There are separate users in each of those directories that share a username
      • The user in the directory of higher order is disabled, and the user in the directory of lower order is enabled

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Set up your Bitbucket instance as described above, with two user directories with a shared user. See attached screenshots for an example.
      2. Disable the user in one of those directories, and order your user directories so it will be resolved first
      3. Go to the Users admin panel. You will see the enabled user and not the disabled one
      4. Click on the user

      Expected Results

      Bitbucket directs you to the edit user page of the enabled user

      Actual Results

      Bitbucket will show a 404 indicating the selected user does not exist.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        1. bitbucketsetup.png
          bitbucketsetup.png
          179 kB
        2. crowdsetup.png
          crowdsetup.png
          70 kB
        3. jirasetup.png
          jirasetup.png
          183 kB
        4. testuser.png
          testuser.png
          86 kB
        5. userlist.png
          userlist.png
          161 kB

        Activity

          People

            Unassigned Unassigned
            mhenschke@atlassian.com Martin Henschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: