bugfix
This commit is contained in:
parent
e55a6d81e4
commit
8f77f35729
@ -60,7 +60,7 @@ where a.id = c.userid
|
|||||||
del self.cups[e['userid']]
|
del self.cups[e['userid']]
|
||||||
return cup
|
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)
|
paths = await self.get_user_perms_paths(userid)
|
||||||
if path in paths:
|
if path in paths:
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user