This commit is contained in:
yumoqing 2026-03-20 17:33:42 +08:00
parent 154e9532c9
commit d0dbe02285

View File

@ -44,7 +44,6 @@ 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):