4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
42 stars 61 forks source link

metadatavalues with admin security level are indexed in solr #452

Open floriangantner opened 4 months ago

floriangantner commented 4 months ago

Describe the bug MetadataValues with some restrictive security level are indexed in the search.

To Reproduce Steps to reproduce the behavior:

  1. Define some configuration for some metadatafield with multiple configurable security levels, e.g. 0 public and 2 admin
  2. Generate some metadatavalue for this metadatafield and save the item
  3. search for this metadatavalue using the discovery

Expected behavior We would expect hidden metadatavalues not to be indexed and being searchable.

We would expect the Indexer to exclude metadatafields based on global configuration and metadatafield-specific configuration settings.

Related work