Skip to content

Commit

Permalink
[4416] Fix for Resouce View Re-order
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan committed Aug 21, 2018
1 parent 20a506d commit 7efa63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/update.py
Expand Up @@ -78,7 +78,7 @@ def resource_view_update(context, data_dict):
return authz.is_authorized('resource_update', context, {'id': data_dict['resource_id']})

def resource_view_reorder(context, data_dict):
return authz.is_authorized('resource_update', context, {'id': data_dict['resource_id']})
return authz.is_authorized('resource_update', context, {'id': data_dict['id']})

def package_relationship_update(context, data_dict):
return authz.is_authorized('package_relationship_create',
Expand Down

0 comments on commit 7efa63a

Please sign in to comment.