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

Performance issues with finding Collections/Communities a user has Admin rights on

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Received (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: REST API v7
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      Currently, it is not possible to easily determine the list of Communities and/or Collections that a user has ADMIN privileges to. This has a side-effect of not being able to determine who can manage particular Groups (as Community/Collection Admin groups need to be manageable by individuals who have Admin privileges in those Community/Collections).

      This relates to https://github.com/DSpace/Rest7Contract/pull/123 and loosely to https://github.com/DSpace/DSpace/pull/2726 (as this latter PR had to add `@Ignored` annotation to some tests in order to work around this issue).

      This ticket is also very similar to DS-4504 (which is about SUBMIT privileges instead of ADMIN privileges) and likely should be solved in a similar manner.

      One possible solution therefore (based on DS-4504) is to add a plugin very similar to the current SolrServiceResourceRestrictionPlugin, that indexes which groups have Admin privileges in a given Collection/Community within the Solr record of each Collection/Community. This will provide improved performance in looking up Collection/Community Admin permissions, as you can search Solr for all Collections/Communities that provide one of your Groups with ADMIN privileges.

        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: