From 540661f4daa9b77c2aab6570889c8559fb230e84 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Thu, 23 Nov 2017 17:24:39 -0500 Subject: [PATCH] copy auth_audit_exempt too --- ckan/logic/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ckan/logic/__init__.py b/ckan/logic/__init__.py index 937ddd9acc5..d6dca57cb93 100644 --- a/ckan/logic/__init__.py +++ b/ckan/logic/__init__.py @@ -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)