This commit is contained in:
yumoqing 2026-03-20 17:29:36 +08:00
parent 7f0a484526
commit 154e9532c9

View File

@ -44,6 +44,7 @@ where a.id = c.userid
def check_roles_path(self, roles, path):
for role in roles:
paths = self.rp_caches.get(role)
debug(f'{role=},{path}, {paths=}')
return path in paths
async def is_user_has_path_perm(self, userid, path):