Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23893

Group Update API - Upper case Username not getting added and showing success response 200

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.23.13, 7.15.3
    • Component/s: None
    • Labels:
    • Severity:
      High
    • Team:
      dev-artifactory-core2
    • Release Notes:
      Yes

      Description

      Problem description:

      This issue was reported in Artifactory version 6.20.1. A Group(testgroup) is created in Artifactory. A user(testuser) is also added  to the Artifactory. Try adding it to the group using Update Group Api with the user in Uppercase. The response is 200 and the user is not getting added to the group too. 

      Expected behaviour:

      The addition of users should work the same way as how it works on the front-end. The Api should handle the upper casing of the username and throw a valid error message stating that uppercase user can't be added.

      Steps to reproduce:

      1. Launch an Artifactory instance of version 6.20.1
      2. After logging in go to Admin -> Groups Management. Create a new group(e.g  testgroup)
      3. Go to Admin -> Users Management. Create a new user(testuser)
      4. Try adding the user(testuser) to the group(testgroup) using the Update Group Api document.

      E.g http://artifactoryserverurl/artifactory/api/security/groups/testgroup post request with Json body as below

      {   "userNames" : [ "TESTUSER" ]  }

      The result is a 200 response and the user is not getting added to the group.

        Attachments

          Activity

            People

            Assignee:
            aviva Aviv Anidjar
            Reporter:
            sunilv Sunil Varghese
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23893 -
                SYNCHRONIZED
                • Last Sync Date: