This commit is contained in:
yumoqing 2024-11-11 14:48:35 +08:00
parent 7103c79758
commit 76e5a0f1aa

View File

@ -5,7 +5,7 @@ from ahserver.auth_api import AuthAPI
def objcheckperm(obj, userid, path):
sql = """select distinct a.*, c.userid from
(select id, path from permission where path=s${path}$ and del_flg='0') a
(select id, path from permission where path=${path}$ and del_flg='0') a
right join
rolepermission b on a.id = b.permid
right join userrole c on b.roleid = c.roleid