This commit is contained in:
zhaoke
2023-02-03 05:35:22 +00:00
parent ffcc487808
commit 4ff09220ba
9 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -78,9 +78,9 @@ class zanode extends control
*/
public function list($hostID, $orderBy = 'id_desc')
{
if(!commonModel::hasPriv('zahost', 'view'))
if(!commonModel::hasPriv('zanode', 'browse'))
{
$this->loadModel('common')->deny('zahost', 'view');
$this->loadModel('common')->deny('zanode', 'browse');
}
$this->view->title = $this->lang->zanode->common;
$this->view->nodeList = $this->loadModel("zanode")->getListByHost($hostID, $orderBy);