auth.py 286 B

12345678910111213
  1. import ckan.plugins as p
  2. @p.toolkit.auth_allow_anonymous_access
  3. def archiver_resource_show(context, data_dict):
  4. # anyone
  5. return {'success': True}
  6. @p.toolkit.auth_allow_anonymous_access
  7. def archiver_dataset_show(context, data_dict):
  8. # anyone
  9. return {'success': True}