bugfic
This commit is contained in:
parent
7103c79758
commit
76e5a0f1aa
@ -5,7 +5,7 @@ from ahserver.auth_api import AuthAPI
|
|||||||
|
|
||||||
def objcheckperm(obj, userid, path):
|
def objcheckperm(obj, userid, path):
|
||||||
sql = """select distinct a.*, c.userid from
|
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
|
right join
|
||||||
rolepermission b on a.id = b.permid
|
rolepermission b on a.id = b.permid
|
||||||
right join userrole c on b.roleid = c.roleid
|
right join userrole c on b.roleid = c.roleid
|
||||||
|
Loading…
Reference in New Issue
Block a user