* Fix bug#16424,#20555.

This commit is contained in:
xieqiyu
2022-03-10 10:32:41 +08:00
parent 9fb53de457
commit e8a7995351
3 changed files with 22 additions and 11 deletions
+2
View File
@@ -2205,6 +2205,8 @@ EOD;
if(isset($this->app->user))
{
if(in_array($module, $this->config->programPriv->waterfall) and $this->app->tab == 'project') return true;
$this->app->user = $this->session->user;
if(!commonModel::hasPriv($module, $method)) $this->deny($module, $method);
}