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 authored and tino097 committed Dec 4, 2018
1 parent 3ae462e commit 408b050
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 408b050

Please sign in to comment.