Background and strategic fit
CKAN plugin to add new users to top(parent) groups automatically.
This plugin implements the user_create
action to add users to an existing parent group with a given role (both specified in the configuration - See Config Settings below).
This code is inspired by the "ckanext-userautoadd": https://github.com/aptivate/ckanext-userautoadd
Installations and Requirements
To install ckanext-userautoadd:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-userautoadd Python package into your virtual environment:
pip install ckanext-userautoaddgroup // or pip install -e git+https://github.com/ckan/ckanext-userautoaddgroup#egg=ckanext-userautoaddgroup
Add
userautoaddgroup
to theckan.plugins
setting in your CKAN config fileRestart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Configuration options
User interaction and design
Everything happens at the backend. No user interface design is required.
Questions and Answers
Below is a list of Q&A from user sides:
Question | Answers |
---|---|