From d992b8c3fd2fc0d4d71f6addbe21f2f8aee29145 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 6 Jun 2023 09:25:57 +0000 Subject: [PATCH] * Fix full text search feedback no permission. --- module/common/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/common/model.php b/module/common/model.php index 6701ddac05..99b0caa0d7 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2561,6 +2561,7 @@ EOF; if($module == 'product' and $method == 'browse' and !empty($app->params['storyType']) and $app->params['storyType'] == 'requirement') $method = 'requirement'; if($module == 'product' and $method == 'browse' and !empty($params['storyType']) and $params['storyType'] == 'requirement') $method = 'requirement'; if($module == 'story' and $method == 'linkrequirements') $module = 'requirement'; + if($app->config->vision != 'lite' and $module == 'feedback' and $method == 'view') $method = 'adminview'; /* If the user is doing a tutorial, have all tutorial privs. */ if(defined('TUTORIAL'))