Skip to content

Allow control over which dataset types are available, per collection #12115

@pdurbin

Description

@pdurbin

Proposed rules:

  • If only the default dataset type of "dataset" is present, it can be used by anyone in all collections (as long as you have permission).
  • At the system level, a superuser can add additional dataset types.
  • If multiple dataset types are available:
    • by default, collections can use the default dataset type of "dataset" and all other types are not allowed.
    • at the collection level, superusers can enable non-default types and even disable the default type.
  • No inheritance, just like our permission system. All control is at the collection level.

We'll implement this as API-only. Normal CRUD operations will be available.

Just an idea of how the API might look, from Option A2 of our design doc:

curl -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/dataverses/collection1/allowedDatasetTypes" -d '[review]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    FY26 Sprint 15FY26 Sprint 15 (2026-01-14 - 2026-01-28)FY26 Sprint 16FY26 Sprint 16 (2026-01-28 - 2026-02-11)Project: Trusted DataSize: 30A percentage of a sprint. 21 hours. (formerly size:33)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions