Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4036 Delete EPersons in DSpace
  3. DS-4039

Enhance Delete EPerson endpoint in REST API

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Volunteer Needed (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      Per ticket DS-4306, we need to ensure the new REST API allows for EPerson deletion.

      Currently, the EPerson delete endpoint exists/works, but only if no "constraints" are found on the deletion.  See the code at: https://github.com/DSpace/DSpace/blob/master/dspace-spring-rest/src/main/java/org/dspace/app/rest/repository/EPersonRestRepository.java#L183

      Once PR #2229 is merged, we would need to enhance that delete endpoint to ensure deletion occurs, even if the EPerson previously submitted content.

      We also need to enhance the corresponding "delete*()" integration tests to ensure all EPerson deletion scenarios are checked.  They are in this test class: https://github.com/DSpace/DSpace/blob/master/dspace-spring-rest/src/test/java/org/dspace/app/rest/EPersonRestRepositoryIT.java#L418 

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tdonohue Tim Donohue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: