Skip to content

Commit

Permalink
Make user_list sysadmin only
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Feb 17, 2017
1 parent ef6cf50 commit 83261e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/get.py
Expand Up @@ -88,7 +88,7 @@ def tag_list(context, data_dict):

def user_list(context, data_dict):
# Users list is visible by default
return {'success': True}
return {'success': False}

def package_relationships_list(context, data_dict):
user = context.get('user')
Expand Down

0 comments on commit 83261e1

Please sign in to comment.