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]'
Proposed rules:
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]'