Extension Datasetapproval


Extension Basics

Title
Datasetapproval
Name
ckanext-datasetapproval
Type
Public extension
Description
Dataset review workflow implementation for CKAN.
CKAN versions
Download-Url (zip)
Last commit
2 years ago (2023-03-03 05:10:26)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

CKAN

ckanext-datasetapproval

An extension which provides a feature to approve or reject a dataset before making it public.

Installation

To install ckanext-datasetapproval:

Note: if you’re using ckanext_scheming extension, add new field to the schema configuration YAML file.

  • field_name: publishing_status label: Publishing Status form_snippet: null display_snippet: null validators: ignore_missing publishing_status_validator
  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com//ckanext-datasetapproval.git cd ckanext-datasetapproval pip install -e . pip install -r requirements.txt

  3. Add dataset_approval to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

Approval Flow for Dataset

  1. All publisher users can save datasets as drafts for later editing, while creating/updating datasets without publishing it to the public. Screenshot 2022-11-23 at 8 43 38 AM

  2. Users with editor role in organization can create a dataset and submit it for approval Editors user get this message Screenshot 2022-11-23 at 9 02 22 AM

Submit for approval by clicking finish button. <img width=”999” alt=”Screenshot 2022-11-23 at 9 02 32 AM” src=”https://user-images.githubusercontent.com/87696933/203462940-2aaffcc8-537d-43d6-863d-07cc0f73f481.png

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-datasetapproval:

Note: if you’re using ckanext_scheming extension, add new field to the schema configuration YAML file.

  • field_name: publishing_status label: Publishing Status form_snippet: null display_snippet: null validators: ignore_missing publishing_status_validator
  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://gith

Plugins to configure (ckan.ini)
datasetapproval
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions