Skip to content

Customize the "Publishing" disclaimer message. Add support for multi line and links#12223

Open
stevenwinship wants to merge 1 commit intodevelopfrom
521-publishing-disclaimer-support-multiline-enbeded-links
Open

Customize the "Publishing" disclaimer message. Add support for multi line and links#12223
stevenwinship wants to merge 1 commit intodevelopfrom
521-publishing-disclaimer-support-multiline-enbeded-links

Conversation

@stevenwinship
Copy link
Contributor

@stevenwinship stevenwinship commented Mar 17, 2026

What this PR does / why we need it: Need to allow the setting :PublishDatasetDisclaimerText to be displayed with line feeds and embedded links

Which issue(s) this PR closes: IQSS/dataverse-pm#521

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this: use
for line feeds and <a href= for links. Maybe check for attacks/ embedded js code. This is an admin call so it shouldn't be an issue.

Example:
curl -sS -X PUT -d 'I agree to the following:
1. My submission has been fully anonymized (required for all humab subject'''s datasets).
2. My submission does not violate any known copyright laws.
3. I understand that I am liable for any and all violations of the Harvard Repository<a href="https://support.dataverse.harvard.edu/harvard-dataverse-general-terms-use">Terms of Use.' "http://localhost:8080/api/admin/settings/:PublishDatasetDisclaimerText"

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

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

Additional documentation:

@stevenwinship stevenwinship self-assigned this Mar 17, 2026
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Mar 17, 2026
@stevenwinship stevenwinship added this to the 6.11 milestone Mar 17, 2026
@stevenwinship stevenwinship changed the title add support for multi line and links Customize the "Publishing" disclaimer message. Add support for multi line and links Mar 17, 2026
@stevenwinship stevenwinship added the Size: 0.5 A percentage of a sprint. 0.35 hours label Mar 17, 2026
@stevenwinship stevenwinship moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Mar 17, 2026
@stevenwinship stevenwinship removed their assignment Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 0.5 A percentage of a sprint. 0.35 hours

Projects

Status: Ready for Review ⏩

Development

Successfully merging this pull request may close these issues.

1 participant