This CKAN extension includes organization_group
plugin. The plugin ables users to link a dataset to a group while creating the dataset. It also makes the organization and group mandatory fields for users.
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.9 | Yes |
earlier | No |
To install ckanext-organization-group:
-
Activate your CKAN virtual environment, for example:
source /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv (Suggested location: /usr/lib/ckan/default/src) :
git clone https://github.com/TIBHannover/Organization-Group.git cd ckanext-organization-group pip install -e . pip install -r requirements.txt
-
Add
organization_group
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Restart CKAN and supervisor. For example if you've deployed CKAN with nginx on Ubuntu:
sudo service nginx reload sudo service supervisor reload