Skip to content

Minor improvements for the external metadata filtering#9730

Merged
kcondon merged 3 commits intodevelopfrom
9727-quick-spamfilter-addons
Jul 24, 2023
Merged

Minor improvements for the external metadata filtering#9730
kcondon merged 3 commits intodevelopfrom
9727-quick-spamfilter-addons

Conversation

@landreev
Copy link
Contributor

What this PR does / why we need it:

This PR adds a couple of extra bits of information to the json that the application passes to the external metadata filter. This is for better record keeping and managing white lists on the filter side.

Which issue(s) this PR closes:

Closes #9727

Special notes for your reviewer:

Suggestions on how to test this:

All this PR does is add 2 extra fields to the json exports for datasets and collections that are generated for the external filter.
The easiest way to test would be to configure the filtering by setting both :DataverseMetadataValidatorScript and :DatasetMetadataValidatorScript to /usr/bin/true; then publish a collection and a dataset, and inspect the metadata exports left in /tmp. Both should have the 2 extra fields at the end: userIdentifier and parentAlias.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@pdurbin pdurbin self-assigned this Jul 24, 2023
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this but the changes make sense

@pdurbin pdurbin removed their assignment Jul 24, 2023
@landreev landreev added this to the 5.14 milestone Jul 24, 2023
@landreev
Copy link
Contributor Author

Added the milestone 5.14, per #9727.

@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:9727-quick-spamfilter-addons
ghcr.io/gdcc/configbaker:9727-quick-spamfilter-addons

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"External Metadata Filtering" improvements.

3 participants