bugfix
This commit is contained in:
parent
154e9532c9
commit
d0dbe02285
@ -44,7 +44,6 @@ where a.id = c.userid
|
|||||||
def check_roles_path(self, roles, path):
|
def check_roles_path(self, roles, path):
|
||||||
for role in roles:
|
for role in roles:
|
||||||
paths = self.rp_caches.get(role)
|
paths = self.rp_caches.get(role)
|
||||||
debug(f'{role=},{path}, {paths=}')
|
|
||||||
return path in paths
|
return path in paths
|
||||||
|
|
||||||
async def is_user_has_path_perm(self, userid, path):
|
async def is_user_has_path_perm(self, userid, path):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user