This commit is contained in:
yumoqing 2026-03-20 13:22:44 +08:00
parent e55a6d81e4
commit 8f77f35729

View File

@ -60,7 +60,7 @@ where a.id = c.userid
del self.cups[e['userid']]
return cup
async def is_user_has_path_perm(self, request, userid, path):
async def is_user_has_path_perm(self, userid, path):
paths = await self.get_user_perms_paths(userid)
if path in paths:
return True