no commit message
This commit is contained in:
@@ -59,7 +59,9 @@ class Base extends Controller {
|
||||
*/
|
||||
public function isAdmin()
|
||||
{
|
||||
return in_array("Biz_system_admin", $this->userInfo['roleCode']);
|
||||
return in_array("Biz_system_admin", $this->userInfo['roleCode']) ||
|
||||
in_array("admin", $this->userInfo['roleCode']) ||
|
||||
in_array("COM_TOP_ADMIN", $this->userInfo['roleCode']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user