diff --git a/ckan/logic/auth/get.py b/ckan/logic/auth/get.py index bf18720ff5c..3370056f71d 100644 --- a/ckan/logic/auth/get.py +++ b/ckan/logic/auth/get.py @@ -6,6 +6,11 @@ get_resource_object, get_related_object) +def sysadmin(context, data_dict): + ''' This is a pseudo check if we are a sysadmin all checks are true ''' + return {'success': False, 'msg': _('Not authorized')} + + def site_read(context, data_dict): """\ This function should be deprecated. It is only here because we couldn't