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

limit xls-collection-crosswalk to group members #422

Open floriangantner opened 6 months ago

floriangantner commented 6 months ago

Is your feature request related to a problem? Please describe. By default there is some crosswalk collection-xls to xls using the collection default submission form. This is used for exporting the items via collection-export process. By default it is also shown for anonymous users in the export format list. Most anonymous users are not sure how the structure is (what is the $$sl=? What are the separators? What is some placeholder?) and do not need these information; some more abstract export for anonymous users in xls is available using the CsvCrosswalk/XlsCrosswalk

Describe the solution you'd like Implement the isAuthenticated method from the interface ItemExportCrosswalk as the others crosswalk do. This allow system administrators to limit it to Administrators and/or Anonymous users

Describe alternatives or workarounds you've considered

Additional context https://github.com/4Science/DSpace/blob/main-cris/dspace-api/src/main/java/org/dspace/content/integration/crosswalks/XlsCollectionCrosswalk.java