.. You should enable this project on travis-ci.org and coveralls.io to make
these badges work. The necessary Travis and Coverage config files have been
generated for you.
.. image:: https://travis-ci.org/polarp/ckanext-cas.svg?branch=master
:target: https://travis-ci.org/polarp/ckanext-cas
.. image:: https://coveralls.io/repos/polarp/ckanext-cas/badge.svg
:target: https://coveralls.io/r/polarp/ckanext-cas
=============
ckanext-cas
.. Put a description of your extension here:
What does it do? What features does it have?
Consider including some screenshots or embedding a video!
Special Thanks
Special thanks to Neogeo Technologies <http://www.neogeo-online.net>_ for their contribution in making of this plugin.
Requirements
This extension works with CKAN version 2.6 and above.
Installation
.. Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-cas:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-cas Python package into your virtual environment::
pip install ckanext-cas
pip install -r ckanext-cas/requirements.txt
Add cas to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Config Settings
In order to configure CKAN to use CAS you must setup the following configuration options::
# User attributes mapping (required)
# ``email`` and ``user`` mappings are required
ckanext.cas.user_mapping = email~email user~username fullname~full_name sysadmin~is_superuser
# If you need to combine attributes (