atom icon indicating copy to clipboard operation
atom copied to clipboard

Enhancement: Exclude hidden elements from EAD XML exported by public users

Open ravengermain opened this issue 1 year ago • 0 comments

Current Behavior

  1. As an administrator: In the visible elements module, uncheck one or more archival description fields to make them hidden from the public.

  2. As a public user:

  • Go to an archival description page.
  • Click on "EAD 2002 XML" under Export
  • The exported XML includes the field(s) that have been unchecked in the Visible elements module.

Expected Behavior

Exported EAD XML should only contain fields that are visible to the public user who exported the CSV.

Possible Solution

Exclude hidden fields from the XML export if the user is not logged in.

Context and Notes

Related issue addressed in 2.8.1: https://github.com/artefactual/atom/issues/1728

Hidden fields may contain sensitive information that should not be shared freely with the public (e.g. immediate source of acquisition where the donor prefers to be anonymous). Having this information included in publicly available XML exports then becomes an information privacy/security risk.

Please maintain the full export functionality for staff (authenticated users).

Version used

No response

Operating System and version

No response

Default installation culture

No response

PHP version

No response

Contact details

No response

ravengermain avatar Oct 08 '24 20:10 ravengermain