Ticket #1477 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[Super] Group refactor

Reported by: kindly Owned by: kindly
Priority: blocker Milestone: ckan-v1.6
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by kindly) (diff)

This is the implementation of the final draft in

http://wiki.ckan.org/Groups_Refactor

Steps to complete this will follow (somewhat) in the following order.

Change package_group table to membership. (#1478) 3d

  • model migration. (done)
  • simplify revisioning (done)
  • Remove any sqlalchemy releations from groups. (done)
  • change logic functions (done)

Single type per group (#1531)

  • migration add type to group table. (done) 1d

Add capacity table (#1522)

  • model migration. (done)
  • add to logic functions.

Allow other objects to be added to groups. (#1531)

  • change logic functions (done)

Adapt thedatahub.org to use new model.

  • move auth groups over to groups/members
  • change user_object roles to use groups? keep user object roles for time being.
  • make create update package/group put the correct items in the group/members/capacity tables.
  • work out how ui works.

--not doing the below as part of this super ticker now #1669.

Create model for dgu.

  • adapt auth functions to use auth.
  • adapt package_create/update group_create/update to fill in the correct capacties/members.

Adapt Iati, and potentially other custom instances.

Sub-tickets:

  • #1279 Deprecate Authorization Groups
  • #1198 Publisher hierarchy

Change History

comment:1 Changed 2 years ago by kindly

  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 2 years ago by kindly

  • Milestone set to ckan-v1.6

comment:3 Changed 2 years ago by dread

  • Description modified (diff)

I added the sub-tickets since this tickets already covers them really. They may provide useful details in the course of doing all this.

comment:4 Changed 2 years ago by rgrp

@davidraznick: as per our discussion last week I think we need a ticket (or item) about writing up either in docs or in wiki how to implement various standard scenarios/workflows such as:

Suggest doing this either at end of http://wiki.ckan.org/Groups_Refactor, or perhaps better,http://wiki.ckan.org/Groups_Refactor.

comment:5 Changed 2 years ago by rgrp

  • Priority changed from awaiting triage to blocker

comment:6 Changed 2 years ago by kindly

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Description modified (diff)

This is done pending new superticket publihser_profile. (#1669)

Note: See TracTickets for help on using tickets.