* [task#144514,doing, 0.1h] Check createTemplate priviledge when visit editTemplate.

This commit is contained in:
daitingting
2025-06-10 05:50:13 +00:00
parent e4a272478d
commit 2b178b48ae
+1
View File
@@ -1195,6 +1195,7 @@ eof;
if($module == 'product' and $method == 'browse' and !empty($this->app->params['storyType']) and $this->app->params['storyType'] != 'story') $method = $this->app->params['storyType'];
if($module == 'productplan' && ($method == 'story' || $method == 'bug')) $method = 'view';
if($module == 'doc' && $method == 'editTemplate') $method = 'createTemplate';
$openMethods = array(
'user' => array('deny', 'logout'),