This commit is contained in:
yumoqing 2023-06-12 14:39:01 +08:00
parent 286c8a6c44
commit 8beb5dbc99

View File

@ -64,7 +64,7 @@ class AuthAPI(AppLogger):
is_ok = await self.checkUserPermission(user, path)
if is_ok:
return await handler(request)
# print(f'**{path} forbidden**')
print(f'**{user=}, {path} forbidden**')
raise web.HTTPForbidden()
async def checkUserPermission(self, user, path):