Skip to content

Commit

Permalink
* Fix full text search feedback no permission.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghucheng committed Jun 6, 2023
1 parent f396f99 commit d992b8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/common/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2561,6 +2561,7 @@ public static function hasPriv($module, $method, $object = null, $vars = '')
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'))
Expand Down

0 comments on commit d992b8c

Please sign in to comment.