Ticket #833 (new enhancement) — at Version 13

Opened 3 years ago

Last modified 3 years ago

[super] Administrative dashboard extension

Reported by: rgrp Owned by: johnlawrenceaspden
Priority: critical Milestone: ckan-v1.4-sprint-6
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by rgrp) (diff)

Create an admin dashboard as /ckan-admin/ allowing for admin operations and overview.

Possible features:

  • Purge revisions (or sets of revisions) and purge objects #1076
  • Set roles for users #1075
  • Put system into particular modes e.g. wiki mode (anyone can add, edit packages by default), data portal (only sysadmins or members of a special Editor group can create and edit packages)
    • WONTFIX
  • Overview of activity

Currently have an admin section using the formalchemy admin controller to provide basic editing of model objects. This can still be used but located at /admin/model/.

https://bitbucket.org/okfn/ckanext-admin

Tickets

Notes

Here's putting into restricted mode (plus creating a dedicated authz group so that others can admin sysadmin simply through that group):

# first remove permissions from roles
# this is hacky but have to do it because we hardcode assignment of 
# role permissions on package on package create (see model/authz.py)
paster roles deny editor edit
paster roles deny editor create-authorization-group
paster roles deny editor create-group
paster roles deny editor create-package
paster roles deny reader create-package
# make superuser group
# create authz group administrators / Administrators (if not exists)
paster rights make agroup:administrators admin system

Change History

comment:1 Changed 3 years ago by rgrp

  • Description modified (diff)
  • Summary changed from Administrative dashboard to Administrative dashboard extension

comment:2 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:3 Changed 3 years ago by rgrp

  • Priority changed from awaiting triage to critical
  • Description modified (diff)

comment:4 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:5 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:6 Changed 3 years ago by rgrp

  • Owner set to rgrp
  • Milestone changed from ckan-v1.4 to ckan-v1.4-sprint-2

comment:7 Changed 3 years ago by rgrp

  • Milestone changed from ckan-v1.4-sprint-2 to ckan-v1.4-sprint-3

In progress now (sysadmin view and update nearly done).

comment:8 Changed 3 years ago by rgrp

  • Description modified (diff)
  • Summary changed from Administrative dashboard extension to [super] Administrative dashboard extension

comment:9 Changed 3 years ago by rgrp

  • Owner changed from rgrp to johnlawrenceaspden
  • Repository set to ckan
  • Theme set to none

comment:10 Changed 3 years ago by rgrp

  • Milestone changed from ckan-v1.4-sprint-3 to ckan-v1.4-sprint-4

comment:11 Changed 3 years ago by rgrp

Authz subsystem complete.

comment:12 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:13 Changed 3 years ago by rgrp

  • Description modified (diff)
  • Milestone set to ckan-v1.4-sprint-6
Note: See TracTickets for help on using tickets.