* fix bug for user priv.

This commit is contained in:
wangyidong
2018-10-17 09:34:27 +08:00
parent cb7e95e654
commit d0981de17d
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -751,6 +751,7 @@ class userModel extends model
$groups = $this->dao->select('t1.acl')->from(TABLE_GROUP)->alias('t1')
->leftJoin(TABLE_USERGROUP)->alias('t2')->on('t1.id=t2.group')
->where('t2.account')->eq($account)
->andWhere('role')->ne('limited')
->fetchAll();
$acls = array();
$viewAllow = false;