Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11875

Enhance the pending requests rest call to return the resourceSetId

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Rank:
      1|hzubsf:

      Description

      The rest call to get a list of pending requests should return the resourceSetId so that the request can be correlated with more detailed resource information (like a complete list of valid scopes or an icon).

      openamUrl/json/users/ROName/uma/pendingrequests?_queryFilter=true

      BEFORE:     

      {
        "result": [
          {
            "_id": "173204d5-03e2-46e4-b7d8-f91096554b3f10",
            "user": "achang",
            "resource": "Test",
            "when": 1506645237347,
            "permissions": [
              "read"
            ]
          }
        ],
        "resultCount": 1,
        "pagedResultsCookie": null,
        "totalPagedResultsPolicy": "NONE",
        "totalPagedResults": -1,
        "remainingPagedResults": 0
      }
      

       

      DESIRED RESOLUTION:

      {
        "result": [
          {
            "_id": "173204d5-03e2-46e4-b7d8-f91096554b3f10",
            "user": "achang",
            "resource": "Test",
            "resourceSetId": "e8adbb3d-8d79-4006-9259-f9ae89c1beb711",
            "when": 1506645237347,
            "permissions": [
              "read"
            ]
          }
        ],
        "resultCount": 1,
        "pagedResultsCookie": null,
        "totalPagedResultsPolicy": "NONE",
        "totalPagedResults": -1,
        "remainingPagedResults": 0
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            liz.browne Elizabeth Browne [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: