From 317b22c142b15ad3ba4b12d07be9b4f4680e0b5a Mon Sep 17 00:00:00 2001 From: bonnedav Date: Mon, 2 Apr 2018 19:14:01 -0600 Subject: [PATCH] Refactor export.tpl to use rights checks (#60) --- WEB-INF/templates/export.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB-INF/templates/export.tpl b/WEB-INF/templates/export.tpl index 1c9866ed..487f0097 100644 --- a/WEB-INF/templates/export.tpl +++ b/WEB-INF/templates/export.tpl @@ -2,7 +2,7 @@
-{if $user->isManager()} +{if $user->can('export_data')} -- 2.20.1