Skip to content

Commit

Permalink
Merge branch 'release-v2.0' of github.com:okfn/ckan into release-v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Mar 21, 2013
2 parents 87f298a + 517777a commit 0d0221b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/logic/action/update.py
Expand Up @@ -286,6 +286,8 @@ def package_update(context, data_dict):

return_id_only = context.get('return_id_only', False)

# we could update the dataset so we should still be able to read it.
context['ignore_auth'] = True
output = data_dict['id'] if return_id_only \
else _get_action('package_show')(context, {'id': data_dict['id']})

Expand Down

0 comments on commit 0d0221b

Please sign in to comment.