Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4006

REST API: EPersons and the relationship with Groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      • If you GET the authn/status endpoint when logged in, it contains an EPerson representing the current user. The groups for that EPerson are returned as properties. See authn-status.json
        • Groups are DSpaceObjects, they have their own endpoint, so they should be returned as relationships instead.
        • This breaks authentication in the UI at the moment.
      • If you GET an EPerson from eperson/epersons, it seems the groups property is always null. See eperson.json
      • I tried to look up the EPerson endpoint in the Rest Contract repo, to see if there was a reason for this, but the EPerson endpoint isn't described yet.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tom.desair Tom Desair
              Reporter:
              Art Lowel Art Lowel (Atmire)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: