Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00945953

      Description

      Description of the issue
       
      When using REST API in APS APS Rest API GET /enterprise/admin/groups/{groupId} to get the group information on 3 layers deep of groups (Parent, Child and Grandchild), APS will only return group information for Parent and Child Group but not the Grandchild group.
       
      Steps to reproduce

      1. In APS Identity Management, under tab "Organization" create a group called “Parent"
      2. Then click on "+ add subgroup" and add subgroup called “Child”
      3. Then click on "+ add subgroup” in Child and add subgroup called “Grandchild"
      4. Via DB table GROUPS get the group ID for group "Parent"
      5. Run APS Rest API GET /enterprise/admin/groups/{groupId} for the group Parent.

       
      Observed Results
       
      Running the APS Rest API GET /enterprise/admin/groups/{groupId} for the group Parent delivers smth similar to

      {
        "id": 1001,
        "name": "Parent",
        "externalId": null,
        "status": "active",
        "tenantId": 1,
        "type": 1,
        "parentGroupId": null,
        "lastSyncTimeStamp": null,
        "userCount": 0,
        "users": [],
        "capabilities": [],
        "groups": [
          
      
      {       "id": 1002,       "name": "Child",       "externalId": null,       "status": "active",       "tenantId": 1,       "type": 1,       "parentGroupId": null,       "lastSyncTimeStamp": null,       "userCount": null,       "users": null,       "capabilities": null,       "groups": null,       "manager": null     }
      
        ],
        "manager": null
      }
      

      Response does not contain the "Grandchild" group.

      Running the API call on group "Child" one gets the group "Grandchild" returned:

      {
        "id": 1002,
        "name": "Child",
        "externalId": null,
        "status": "active",
        "tenantId": 1,
        "type": 1,
        "parentGroupId": null,
        "lastSyncTimeStamp": null,
        "userCount": 0,
        "users": [],
        "capabilities": [],
        "groups": [
          
      
      {       "id": 1003,       "name": "Grandchild",       "externalId": null,       "status": "active",       "tenantId": 1,       "type": 1,       "parentGroupId": null,       "lastSyncTimeStamp": null,       "userCount": null,       "users": null,       "capabilities": null,       "groups": null,       "manager": null     }
      
        ],
        "manager": null
      }
      

       
      Desired Behaviour
       APS Rest API call GET /enterprise/admin/groups/{groupId} shall also return subgroups of subgroups
       
      Supporting evidence
      Tested current behaviour with APS 1.7 and APS 1.8.1 release

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                djohnson Doug Johnson
                Reporter:
                twilliams Terry Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: