修复权限错误
This commit is contained in:
parent
1fcf92094d
commit
d5405d65ee
@ -65,8 +65,6 @@ class Auth
|
|||||||
*/
|
*/
|
||||||
protected function checkAuth($controller, $pathInfo, $action, $uid)
|
protected function checkAuth($controller, $pathInfo, $action, $uid)
|
||||||
{
|
{
|
||||||
return true;
|
|
||||||
//Cache::delete('RulesSrc' . $uid);
|
|
||||||
if (!Cache::get('RulesSrc' . $uid) || !Cache::get('RulesSrc0')) {
|
if (!Cache::get('RulesSrc' . $uid) || !Cache::get('RulesSrc0')) {
|
||||||
//用户所在权限组及所拥有的权限
|
//用户所在权限组及所拥有的权限
|
||||||
// 执行查询
|
// 执行查询
|
||||||
|
Loading…
x
Reference in New Issue
Block a user