* Code for task#55851

This commit is contained in:
zenggang
2022-06-02 05:22:12 +00:00
parent ad3d70318a
commit fe5ec04749
+3
View File
@@ -2400,6 +2400,9 @@ EOD;
if($inProject && $app->session->project && strpos(",{$app->user->rights['projects']},", ",{$app->session->project},") !== false) return true;
}
/* White list of method. */
if(in_array($module, array('user', 'task', 'story', 'bug', 'testcase')) and $method == 'showimport') return true;
/* If not super admin, check the rights. */
$rights = $app->user->rights['rights'];
$acls = $app->user->rights['acls'];