Попытка использовать информацию в:
http://docs.ckan.org/en/ckan-1.4.3/authorization.html
для создания пользователей и назначения ролей конкретному пакету, а команда вправо не работает.
Например:
paster --plugin=ckan rights -c /etc/ckan/default/development.ini list
Я получаю сообщение об ошибке:
Command 'rights' not known (you may need to run setup.py egg_info)
Known commands:
celeryd Celery daemon [DEPRECATED]
check-po-files Check po files for common mistakes
color Create or remove a color scheme.
config-tool Tool for editing options in a CKAN config file
create Create the file layout for a Python distribution
create-test-data Create test data in the database.
datapusher Perform commands in the datapusher
dataset Manage datasets
datastore Perform commands to set up the datastore
db Perform various tasks on the database.
exe Run #! executable files
front-end-build Creates and minifies css and JavaScript files
help Display help
jobs Manage background jobs
less Compile all root less documents into their CSS counterparts
make-config Install a package and create a fresh config file/directory
minify Create minified versions of the given Javascript and CSS files.
notify Send out modification notifications.
plugin-info Provide info on installed plugins.
points Show information about entry points
post Run a request for the described application
profile Code speed profiler
ratings Manage the ratings stored in the db
rdf-export Export active datasets as RDF
request Run a request for the described application
search-index Creates a search index for all datasets
serve Serve the described application
setup-app Setup an application, given a config file
sysadmin Gives sysadmin rights to a named user
tracking Update tracking statistics
trans Translation helper functions
user Manage users
views Manage resource views.
, но если я создаю пользователя следующим образом:
paster sysadmin add seanh -c /etc/ckan/default/development.ini
работает нормально, поэтомуЯ не думаю, что проблема была в моей среде.
Примечание:
Centos 7.4
ckan 2.7.3
спасибо