This commit is contained in:
yumoqing 2026-03-24 15:46:21 +08:00
parent 75207ce85d
commit 7d0898ee07
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,11 @@ from rbac.check_perm import (
create_org,
create_user
)
from rbac.set_role_perms import set_role_perm, set_role_perms
from rbac.set_role_perms import (
sor_add_user_roles,
set_role_perm,
set_role_perms
)
async def get_owner_orgid(*args, **kw):
return '0'

View File

@ -64,7 +64,6 @@ where a.orgid = b.orgid
ns.otid = otid
if rname != '*':
ns.rname = rname
}
for r in recs:
if ns.otid and ns.otid != r.orgtypeid:
continue