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

Performance issues with finding Collections a user can submit to

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Currently, it is not possible to easily determine the list of Collections that a user has SUBMIT privileges to. We are therefore having to essentially "crawl" the Community/Collection hierarchy looking Collection by Collection for ones the current user can submit to. This results in performance issues in filling out a dropdown of Collections in the Angular UI as noted in https://github.com/DSpace/dspace-angular/issues/487

      As discussed in today's DSpace 7 meeting and in the proposal at https://wiki.lyrasis.org/display/DSPACE/Collection+dropdown+in+submission, we should implement a lookup via Solr to solve this issue.

      The solution will be to add a plugin, very similar to the current SolrServiceResourceRestrictionPlugin, that indexes which groups can submit in a given Collection within the Solr record of each Collection. This will provide improved performance in looking up Collection submit permissions, as you can search Solr for all Collections that allow one of your Groups to submit.

      The initial estimate for this work is 1 day (8 hours).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: