Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9469

Upper case letters in user names don't work with space permissions

      Users who have upper case letters in their usernames cannot be assigned space level view permissions.
      Steps to reproduce:

      • Create a user with a upper case letter ('User')
      • exclude this user from any groups
      • give the user "can use" global permissions
      • go to a particular space and try to give the user all permissions for this space. You can verify that permissions are not set by logging in as this user.

      The same steps for a username without upper case produce the expected result.

      NOTE: These steps to reproduce are no longer valid. On creation of the user, the user name is converted to lowercase. It can only then be referred to by lower case.
      Update: I've been told that if you create user via XMLRPC you can reproduce the problem as described here.

      The particular problem is mentioned in this support issue. (I tested it against the trunk)
      In general when solving this issue we should probably review how we deal with usernames (currently when creating a new user we modify username to lowercase).
      We should also investigate this issue in conjunction with LDAP as LDAP is case insensitive.

      Ideally we should always reference user by id in all tables. This will eliminate a big chunk of potential problems and also will make username modifiable. But as it is quite complex we may fix this particular bug first.

        1. GroupPermissions1.jpg
          GroupPermissions1.jpg
          43 kB
        2. Grouppermissions2.jpg
          Grouppermissions2.jpg
          42 kB
        3. User_KClarke-1.jpg
          User_KClarke-1.jpg
          101 kB
        4. User_KClarke-2.jpg
          User_KClarke-2.jpg
          86 kB

            [CONFSERVER-9469] Upper case letters in user names don't work with space permissions

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2898217 ] New: CONFSERVER Bug Workflow v4 [ 3002021 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2790350 ] New: JAC Bug Workflow v3 [ 2898217 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2723301 ] New: JAC Bug Workflow v2 [ 2790350 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399461 ] New: JAC Bug Workflow [ 2723301 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2298069 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399461 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233109 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2298069 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193933 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233109 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1923995 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193933 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1726482 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1923995 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1682266 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1726482 ]

              pcurren Paul Curren
              akazatchkov Anatoli
              Affected customers:
              12 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: