Ticket #833 (new enhancement) — at Version 5

Opened 3 years ago

Last modified 3 years ago

Administrative dashboard extension

Reported by: rgrp Owned by:
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 /admin/ allowing for admin operations and overview.

Possible features:

  • Purge revisions (or sets of revisions)
  • Purge objects
  • Set roles for users
    • 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)
  • 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

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)
Note: See TracTickets for help on using tickets.