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

The list of collection returned by collectionService.findAuthorizedOptimized of version 6x and 7x differs from 5x version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Code Review Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0, 6.1, 6.2, 6.3, 7.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      When the configuration key org.dspace.content.Collection.findAuthorizedPerformanceOptimize is set to true, the function collectionService.findAuthorizedOptimized uses a set of SQL queries to return the list of collections where a user is authorized to submit. This option is really useful for a repository with many communities and collections because the response is much faster.

      But the implemented version of this function on 6x and 7x branchs has some bugs:

      • ┬áIt doesn't return the collections of subcommunities of a community where the user is part of the community admin group.
      • It doesn't return the collections where the user is part of collection admin group.
      • It doesn't return the collections where the user is part of a group inside another group authorized to add into or administer the collection.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            tonijpj Toni Prieto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: