Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1008

Filtering of search results by access constraints

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: GSearch 2.4
    • Component/s: legacy - GSearch
    • Labels:
      None

      Description

      Filtering of search results by access constraints.

      This was part of the plan in https://conferences.tdl.org/or/OR2011/OR2011main/paper/view/416/127 for GSearch 2.4.
      Based on work presented at OR2008 : http://pubs.or08.ecs.soton.ac.uk/104/
      Problem: Search results contain hits that the user does not have the access rights to see
      Solution: Extend access rights to search results by filtering

        Attachments

          Activity

          Hide
          swithun Swithun Crowe added a comment -

          Document describing how I modified GSearch to do insearch filtering using fedoraRole values from the FEDORA_AUX_SUBJECT_ATTRIBUTES attribute injected into a HTTP request by the authentication servlet filters.

          Show
          swithun Swithun Crowe added a comment - Document describing how I modified GSearch to do insearch filtering using fedoraRole values from the FEDORA_AUX_SUBJECT_ATTRIBUTES attribute injected into a HTTP request by the authentication servlet filters.
          Hide
          swithun Swithun Crowe added a comment -

          Patch file for above changes.

          Show
          swithun Swithun Crowe added a comment - Patch file for above changes.
          Hide
          gertsp Gert Schmeltz Pedersen added a comment -

          I have applied Swithun's patch in principle, although not the case specific parts, and I have chosen to send all user attributes to the SearchResultFilteringDemoImpl, not just fedoraRoles.

          See https://github.com/fcrepo/gsearch/commit/0cdb26dd40b59ebc3a9fdb94bf650f927c616bdd

          Show
          gertsp Gert Schmeltz Pedersen added a comment - I have applied Swithun's patch in principle, although not the case specific parts, and I have chosen to send all user attributes to the SearchResultFilteringDemoImpl, not just fedoraRoles. See https://github.com/fcrepo/gsearch/commit/0cdb26dd40b59ebc3a9fdb94bf650f927c616bdd

            People

            • Assignee:
              gertsp Gert Schmeltz Pedersen
              Reporter:
              gertsp Gert Schmeltz Pedersen
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: