Skip to content

Commit

Permalink
copy auth_audit_exempt too
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Nov 23, 2017
1 parent 8fd1591 commit 540661f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/logic/__init__.py
Expand Up @@ -428,6 +428,8 @@ def get_action(action):
fetched_actions[name] = functools.partial(func, prev_func)
if hasattr(func, 'side_effect_free'):
fetched_actions[name].side_effect_free = func.side_effect_free
if hasattr(func, 'auth_audit_exempt'):
fetched_actions[name].auth_audit_exempt = func.auth_audit_exempt

# Use the updated ones in preference to the originals.
_actions.update(fetched_actions)
Expand Down

0 comments on commit 540661f

Please sign in to comment.