bugfix
This commit is contained in:
parent
2a02844416
commit
7f0a484526
@ -57,7 +57,7 @@ where a.id = c.userid
|
|||||||
await self.load_roleperms(sor)
|
await self.load_roleperms(sor)
|
||||||
if not roles:
|
if not roles:
|
||||||
await self.get_userroles(sor, userid)
|
await self.get_userroles(sor, userid)
|
||||||
roles = self.ur_caches.get(userid)
|
roles = self.ur_caches.get(userid)
|
||||||
|
|
||||||
return self.check_roles_path(roles, path)
|
return self.check_roles_path(roles, path)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user