From 21b84e877a5b0d1cc5ac28b5e58c19b627e4ebd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Thu, 15 Jun 2017 16:32:08 +0200
Subject: [PATCH] Fixes #5587 Fixed ACL on Template creation menu entries

---
 include/simpleplugin/class_simpleManagement.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/simpleplugin/class_simpleManagement.inc b/include/simpleplugin/class_simpleManagement.inc
index f28a0c4c9..10e1de517 100644
--- a/include/simpleplugin/class_simpleManagement.inc
+++ b/include/simpleplugin/class_simpleManagement.inc
@@ -355,7 +355,7 @@ class simpleManagement
             'type'  => 'entry',
             'image' => $icon,
             'label' => $i['name'],
-            'acl'   => $i['aclCategory'].'/'.$i['mainTab'].'[c]',
+            'acl'   => $i['aclCategory'].'/template[c]',
           );
           $this->headpage->xmlData['actionmenu']['action'][0]['action'][1]['action'][] = array(
             'name'  => 'template_apply_'.$object,
-- 
GitLab