feature: 权限

This commit is contained in:
zhuyu 2025-06-25 10:57:07 +08:00
parent 71269a278c
commit c9411815dd
2 changed files with 1 additions and 3 deletions

View File

@ -375,7 +375,6 @@ class Admin extends Backend
public function norightselectpage()
{
$this->dataLimit = null;
return parent::selectpage();
}
}

View File

@ -27,7 +27,7 @@ class Group extends Backend
protected $grouplist = [];
protected $groupdata = [];
//无需要权限判断的方法
protected $noNeedRight = ['roletree'];
protected $noNeedRight = ['roletree', 'norightselectpage'];
public function _initialize()
{
@ -84,7 +84,6 @@ class Group extends Backend
public function norightselectpage()
{
$this->dataLimit = null;
return parent::selectpage();
}