Skip to content

Commit

Permalink
[#1740] Support ignore_auth in group_ and organization_member_create
Browse files Browse the repository at this point in the history
So we can call them from new-style action function tests, which depend
on ignore_auth.
  • Loading branch information
seanh committed Jun 2, 2014
1 parent 973d982 commit 0f57bdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/logic/action/create.py
Expand Up @@ -1256,7 +1256,8 @@ def _group_or_org_member_create(context, data_dict, is_org=False):
member_create_context = {
'model': model,
'user': user,
'session': session
'session': session,
'ignore_auth': context.get('ignore_auth'),
}
logic.get_action('member_create')(member_create_context, member_dict)

Expand Down

0 comments on commit 0f57bdc

Please sign in to comment.