Skip to content

split table terms of use and access - #12659

Draft
jo-pol wants to merge 2 commits into
IQSS:developfrom
DANS-KNAW-jp:split-terms-table
Draft

split table terms of use and access#12659
jo-pol wants to merge 2 commits into
IQSS:developfrom
DANS-KNAW-jp:split-terms-table

Conversation

@jo-pol

@jo-pol jo-pol commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This PR prepares the Dataverse codebase for file-specific licenses/terms by splitting the legacy model “TermsOfUseAndAccess” into two separate models (“TermsOfUseOrLicense” and “TermsOfAccess”) and updating persistence, API, UI, and tests accordingly.

Changes:

  • Introduces new termsofaccess and termsofuseorlicense tables (Flyway) and updates entity mappings and references.
  • Updates API/commands/JSON export-import paths to read/write the new split terms objects.
  • Updates UI (xhtml), exporters, and test fixtures to reflect the new model.
  • Added validation tests to DatasetVersionTest

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this:

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?:

Yes, a DB table is split into two tables and its references needs updates, so:

Upgrading requires a maintenance window and downtime. Please plan accordingly, create backups of your database, etc.

Additional documentation:

of DANS-KNAW#251 at 972a501 (irrelevant import changes)
@jo-pol
jo-pol marked this pull request as draft August 31, 2026 09:38
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.

1 participant