The extension for closing CKAN to guest users and show login page.
CKAN version | Compatible? |
---|---|
earlier | not tested |
2.9 | Yes |
To install ckanext-close-for-guests:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone https://github.com//ckanext-close-for-guests.git cd ckanext-close-for-guests pip install -e . pip install -r requirements.txt python setup.py develop
-
Add
close_for_guests
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload