* code for task #43747.

This commit is contained in:
王怡栋
2021-11-15 08:37:51 +08:00
parent b68cbf646d
commit 1feb6d2b2f
2 changed files with 63 additions and 4 deletions
+1 -1
View File
@@ -633,7 +633,7 @@ class baseEntry
{
$module = $this->app->getModuleName();
$method = $this->app->getMethodName();
if($module and $method and !commonModel::hasPriv($module, $method))
if($module and $method and !$this->loadModel('common')->isOpenMethod($module, $method) and !commonModel::hasPriv($module, $method))
{
$this->send(403, array('error' => 'Access not allowed'));
}