Skip to content

Commit

Permalink
Don't exempt sysadmins
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu committed Oct 14, 2013
1 parent c75e487 commit 5023e0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/logic/auth/create.py
Expand Up @@ -104,6 +104,7 @@ def rating_create(context, data_dict):
return {'success': True}


@logic.auth_sysadmins_check
def user_create(context, data_dict=None):
using_api = 'api_version' in context
create_user_via_api = new_authz.check_config_permission(
Expand Down

0 comments on commit 5023e0c

Please sign in to comment.