feature: 权限
This commit is contained in:
parent
71269a278c
commit
c9411815dd
|
|
@ -375,7 +375,6 @@ class Admin extends Backend
|
||||||
|
|
||||||
public function norightselectpage()
|
public function norightselectpage()
|
||||||
{
|
{
|
||||||
$this->dataLimit = null;
|
|
||||||
return parent::selectpage();
|
return parent::selectpage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ class Group extends Backend
|
||||||
protected $grouplist = [];
|
protected $grouplist = [];
|
||||||
protected $groupdata = [];
|
protected $groupdata = [];
|
||||||
//无需要权限判断的方法
|
//无需要权限判断的方法
|
||||||
protected $noNeedRight = ['roletree'];
|
protected $noNeedRight = ['roletree', 'norightselectpage'];
|
||||||
|
|
||||||
public function _initialize()
|
public function _initialize()
|
||||||
{
|
{
|
||||||
|
|
@ -84,7 +84,6 @@ class Group extends Backend
|
||||||
|
|
||||||
public function norightselectpage()
|
public function norightselectpage()
|
||||||
{
|
{
|
||||||
$this->dataLimit = null;
|
|
||||||
return parent::selectpage();
|
return parent::selectpage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user