Ticket #2255 (new enhancement) — at Version 5
Organizations (Privacy + Ownership)
Reported by: | ross | Owned by: | ross |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-04-30 |
Component: | ckan | Keywords: | [r:1.0d] |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by ross) (diff)
[x] The publisher_form extension and the 'publisher' component of the system will be renamed to organizations to both make its functionality clear, and to differentiate it from the publish auth profile.
Ownership of datasets is important and this ticket will enforce membership for a dataset to a single individual organization. The workflow for adding a dataset to a publisher/organization will stay the same but there will be no mechanism for adding existing datasets to an organization from within the organization forms.
[x] New datasets can be created from the organization form, in which case the organization will be set in the dataset form dropdown (with privacy set to private - see below)
[x] Datasets created from direct access to /dataset/new will have a drop down showing all of the organizations available to the current user.
[ ] When editing a dataset the organization can only be changed if the current user is the admin of the current organization, and only then to one of the organizations available to the current user.
[ ] Privacy will be enforced by changing the dataset form to have a public/private switch next to the organization drop-down which will be set as the capacity with which the dataset is added to an Organization. Private means visible only within the Organization, and should be the default.
[ ] Search will be affected as the public/private status of a dataset will need to be added to the schema with only public datasets showing in site search, and private showing in organization dataset search (if user is within the organization).
[ ] Clarify how user can be owners of datasets without an organization
[ ] Documentation should be updated to reflect these changes.
Change History
comment:4 follow-up: ↓ 5 Changed 2 years ago by rgrp
I would say Public is default for Organization with Private being an option (or do we make this a config option?).
What about ownership by users?
New datasets can be created from the organization form, in which case the organization will be set in the dataset form dropdown (with privacy set to private - see below)
Does this mean like the setup on groups on the datahub (i.e. forward to new dataset but with some things hard-coded, organization/group?)? Or does it mean actual new dataset form on organization page.
comment:5 in reply to: ↑ 4 Changed 2 years ago by ross
- Description modified (diff)
What about ownership by users?
Good question. WIll add to description.
New datasets can be created from the organization form, in which case the organization will be set in the dataset form dropdown (with privacy set to private - see below)
Does this mean like the setup on groups on the datahub (i.e. forward to new dataset but with some things hard-coded, organization/group?)? Or does it mean actual new dataset form on organization page.
The former, although currently we will have a slightly different form in the organizations extension, until such a time as we're ready to replace the existing one. Tried merging the two forms but it ended up with such a mess of logic that it was unmanageable.