Skip to content

Commit

Permalink
[#2939] bugfix for logic auth create _check_group_auth()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 10, 2012
1 parent 469a4c9 commit 058d88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/create.py
Expand Up @@ -131,7 +131,7 @@ def _check_group_auth(context, data_dict):
groups = groups - set(pkg_groups)

for group in groups:
if not new_authz.has_user_permission_for_group_or_org(group['id'], user, 'update'):
if not new_authz.has_user_permission_for_group_or_org(group.id, user, 'update'):
return False

return True
Expand Down

0 comments on commit 058d88d

Please sign in to comment.