Ticket #2255 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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.

[x] 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.

Only Organization admin can see the edit Organization form.

[x] 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.

[x] Search will be affected as the public/private status of a dataset will need to be added to the schema

[x] Only public datasets showing in site search, and private showing in organization dataset search (if user is within the organization).

[x] Make sure resources are restricted in visibility if the parent dataset is private

[x] Documentation should be updated to reflect these changes.

[x] Verify, then add, then re-add to documentation.

  • A User joins or creates an Organization
  • If creator of the Organization User becomes administrator of the Organization otherwise they become a Member.
  • Creation of new Organization must be approved by a System Administrator
  • New Members must be approved by the Organization Administrator

Change History

comment:1 Changed 2 years ago by ross

  • Description modified (diff)

comment:2 Changed 2 years ago by ross

  • Description modified (diff)

comment:3 Changed 2 years ago by ross

  • Description modified (diff)

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.

comment:6 Changed 2 years ago by ross

  • Description modified (diff)

comment:7 Changed 2 years ago by ross

  • Description modified (diff)

comment:8 Changed 2 years ago by ross

  • Description modified (diff)

Changed description based on docs of stuff to verify.

comment:9 Changed 2 years ago by ross

  • Description modified (diff)

comment:10 Changed 2 years ago by ross

  • Description modified (diff)

comment:11 Changed 2 years ago by ross

  • Description modified (diff)

comment:12 Changed 2 years ago by ross

  • Description modified (diff)

comment:13 Changed 2 years ago by ross

  • Description modified (diff)

comment:14 Changed 2 years ago by ross

  • Description modified (diff)

comment:15 Changed 2 years ago by ross

  • Milestone changed from ckan-sprint-2012-04-02 to current-ckan-sprint-2012-04-16

comment:16 Changed 2 years ago by ross

  • Milestone changed from ckan-sprint-2012-04-16 to current-ckan-sprint-2012-04-30

comment:17 Changed 2 years ago by ross

  • Keywords [r:1.0d] added

Review + restrict resource access (when private)

comment:18 Changed 2 years ago by ross

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
Note: See TracTickets for help on using tickets.