Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ravengermain opened this issue Oct 8, 2024 · 0 comments · May be fixed by #1893
Open

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

ravengermain opened this issue Oct 8, 2024 · 0 comments · May be fixed by #1893
Labels
Type: enhancement An improvement to existing functionality.

Comments

@ravengermain
Copy link

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: #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 ravengermain added the Type: enhancement An improvement to existing functionality. label Oct 8, 2024
@ravengermain ravengermain changed the title Problem: Exclude hidden elements from EAD XML exported by public users Enhancement: Exclude hidden elements from EAD XML exported by public users Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement An improvement to existing functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant