Skip to content

Commit

Permalink
Changed required permission from 'update' to 'manage_group'
Browse files Browse the repository at this point in the history
  • Loading branch information
iewil authored and smotornyuk committed Jun 30, 2017
1 parent 318787e commit fb2d93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/create.py
Expand Up @@ -195,7 +195,7 @@ def _check_group_auth(context, data_dict):
groups = groups - set(pkg_groups)

for group in groups:
if not authz.has_user_permission_for_group_or_org(group.id, user, 'update'):
if not authz.has_user_permission_for_group_or_org(group.id, user, 'manage_group'):
return False

return True
Expand Down

0 comments on commit fb2d93f

Please sign in to comment.