Extension User Auto Add


Extension Basics

Title
User Auto Add
Name
ckanext-userautoadd
Type
Public extension
Description
Automatically adds new users to an existing organization with a configurable role upon registration.
CKAN versions
Download-Url (zip)
Last commit
9 years ago (2016-10-21 15:41:11)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

ckanext-userautoadd

CKAN plugin to add new users to an existing organization automatically.

This plugin implements the user_create action to add users to an existing organization with a given role (both specified in the configuration - See Config Settings below).

Requirements

Tested with CKAN v2.5.2

Installation

To install ckanext-userautoadd:

  1. Activate your CKAN virtual environment, for example:

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

  1. Install the ckanext-userautoadd Python package into your virtual environment:

pip install ckanext-userautoadd

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

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

sudo service apache2 reload

Config Settings

The organization to which new users are added

ckan.userautoadd.organization_name = my_organization

The role the new users will have

ckan.userautoadd.organization_role = editor

About

Copyright (c) 2016 MapAction. Developed by Aptivate.

Development of v1 of this plugin was funded by ECHO.

Version
1.0.1
Version release date
2016-07-29
Contact name
Martin Burchell
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Tested with CKAN v2.5.2. Configure organization name and role for auto-adding users.

Plugins to configure (ckan.ini)
userautoadd
CKAN Settings (ckan.ini)
# ckan.userautoadd.organization_name = my_organization
# ckan.userautoadd.organization_role = editor
DB migration to be executed
(not set)
<< back to Extensions