From 154e9532c91d0961337311d3aa610d8827660e32 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 20 Mar 2026 17:29:36 +0800 Subject: [PATCH] bugfix --- rbac/userperm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rbac/userperm.py b/rbac/userperm.py index da0f3ae..fa5a904 100644 --- a/rbac/userperm.py +++ b/rbac/userperm.py @@ -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):