* code for task#926.
This commit is contained in:
@@ -138,10 +138,13 @@ class commonModel extends model
|
||||
{
|
||||
if($module == 'user' and strpos('login|logout|deny', $method) !== false) return true;
|
||||
if($module == 'api' and $method == 'getsessionid') return true;
|
||||
|
||||
$logon = ($this->app->company->guest or $this->loadModel('user')->isLogon());
|
||||
if($logon and strpos($method, 'ajax') === 0) return true;
|
||||
|
||||
if($module == 'misc' and $method == 'about') return true;
|
||||
if($module == 'misc' and $method == 'checkupdate') return true;
|
||||
if($module == 'help' and $method == 'field') return true;
|
||||
if($module == 'webapp' and $method == 'ajaxaddview') return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user