Skip to content

Commit

Permalink
[#1470] fix member auth import as breaks auto auth pickup in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly authored and amercader committed Jan 29, 2014
1 parent b801ce1 commit dddd654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ckan/logic/auth/delete.py
Expand Up @@ -2,7 +2,7 @@
import ckan.new_authz as new_authz
from ckan.logic.auth import get_package_object, get_group_object, get_related_object
from ckan.logic.auth import get_resource_object
import ckan.logic.auth.create as auth_create
import ckan.logic.auth.create as _auth_create
from ckan.lib.base import _


Expand Down Expand Up @@ -140,4 +140,4 @@ def organization_member_delete(context, data_dict):
return {'success': True}

def member_delete(context, data_dict):
return auth_create.member_create(context, data_dict)
return _auth_create.member_create(context, data_dict)
1 change: 0 additions & 1 deletion ckan/tests/test_coding_standards.py
Expand Up @@ -908,7 +908,6 @@ class TestActionAuth(object):
'create: follow_group',
'create: follow_user',
'create: package_relationship_create_rest',
'delete: member_delete',
'delete: package_relationship_delete_rest',
'delete: unfollow_dataset',
'delete: unfollow_group',
Expand Down

0 comments on commit dddd654

Please sign in to comment.