This commit is contained in:
yumoqing 2026-03-20 17:26:09 +08:00
parent 2a02844416
commit 7f0a484526

View File

@ -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)