[ckan-dev] [ckan-discuss] Requiring login to edit / create stuff on thedatahub.org (ckan.net)

David Read david.read at okfn.org
Mon Aug 22 12:23:07 UTC 2011


Rufus,

> Done. From now on you will need to sign up to edit / create data packages.

The first of these works, but visitors can still edit data packages.

To achieve this, we need to do a 'chmod -R' style command to change
the permissions for the existing packages:

paster rights make visitor reader package:all
paster rights remove visitor editor package:all

and change the permissions that new packages receive:

ckan.default_roles.Package = {“visitor”: [“reader”], “logged_in”: [“editor”]}

Are you happy for me to do these? (I'll also add these details to the docs)

David




More information about the ckan-dev mailing list