From 5fad83c3326558873bef7d0ffe111bad903751aa Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 25 May 2022 16:32:31 +0800 Subject: [PATCH] * Fix bug #22920. --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 27e2443cc6..d9971a399e 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2300,7 +2300,7 @@ EOD; if(isset($this->app->user)) { - if(in_array($module, $this->config->programPriv->waterfall) and $this->app->tab == 'project') return true; + if(in_array($module, $this->config->programPriv->waterfall) and $this->app->tab == 'project' and $method != 'browse') return true; $this->app->user = $this->session->user; if(!commonModel::hasPriv($module, $method)) $this->deny($module, $method);