-
Notifications
You must be signed in to change notification settings - Fork 174
Draft datasets in Inventory should be considered private and visible only to organization members #2095
Description
User Story
In order to draft datasets in Inventory without incomplete metadata being visible or published to other users, agency data managers want dataset and resource visibility in CKAN to be tied to Publish Status.
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
- GIVEN [a contextual precondition]
[AND optionally another precondition]
WHEN [a triggering event] happens
THEN [a verifiable outcome]
[AND optionally another verifiable outcome]
Background
- https://github.com/GSA/datagov-deploy/wiki/inventory.data.gov#access
- Create public landing page for inventory.data.gov #1863
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
Consider CKAN's Private attribute to be an internal field not visible to users. Users should only be concerned with a single field, Publish Status, when considering visibility outside of the organization.
Use CKAN hooks to toggle the Private attribute of a dataset based on the Publish Status.
It's probably okay to ignore the case when a user manually changes the Private field (no need to update Publish Status in that case) to keep things simple.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status