Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4171

Updated time is same as created time even user group membership is updated xusers/users/userName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ranger, usersync
    • None

    Description

      Updated time is same as created time even user group membership is updated when queried from 'xusers/users/userName'

      Steps to reproduce :
      1. Create user through freeIPA or any other source and associate it with group1 wait for user to sync in Ranger
      2. Create new group on usersync Active node name as group2
      3. Associate create user with created group on usersync Active node.

      Verify user on xusers/users/userName
      Request :

      curl -s -L "https://***/xusers/users/userName/tester1234" -H "Authorization: Basic ******==" 

      response :

      {
          "id": 209,
          "createDate": "2023-04-03T06:40:15Z",
          "updateDate": "2023-04-03T06:40:15Z",
          "owner": "**",
          "updatedBy": "***",
          "name": "**",
          "password": "*****",
          "description": "tester1234 - add from Unix box",
          "groupIdList": [
              279,
              278
          ],
          "groupNameList": [
              "testanu",
              "tester1234"
          ],
          "status": 1,
          "isVisible": 1,
          "userSource": 1,
          "userRoleList": [
              "ROLE_USER"
          ],
          "otherAttributes": "{\"sync_source\":\"Unix\",\"full_name\":\"tester1234\",\"original_name\":\"tester1234\"}",
          "syncSource": "Unix"
      } 

      Attachments

        Activity

          People

            Unassigned Unassigned
            anupamrai2303 Anupam Rai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: