From dc5414f11de3386722efb442608ebc451eb22e3f Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Wed, 17 Apr 2019 10:29:08 +0200 Subject: [PATCH] remove decorator --- ckanext/odsh/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py index c7623590..d93525fd 100644 --- a/ckanext/odsh/plugin.py +++ b/ckanext/odsh/plugin.py @@ -139,9 +139,8 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm # IActions def get_actions(self): - return {'user_create': action.odsh_user_create} - # return {'package_create': precondition.not_on_slave(action.odsh_package_create), - # 'user_create': action.odsh_user_create} + return {'package_create': action.odsh_package_create, + 'user_create': action.odsh_user_create} # IConfigurer -- GitLab