From 2a0284441679a5d34841fd8a8ad22df4f73a3640 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 20 Mar 2026 17:23:50 +0800 Subject: [PATCH] bugfix --- rbac/userperm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbac/userperm.py b/rbac/userperm.py index 47e25b4..4784f0b 100644 --- a/rbac/userperm.py +++ b/rbac/userperm.py @@ -18,7 +18,7 @@ class UserPermisions: from rolepermission a, permission b, role c where a.permid = b.id and c.id = a.roleid -order by a.orgtypeid, a.name""" +order by c.orgtypeid, c.name""" recs = await sor.sqlExe(sql_all, {}) for r in recs: k = 'anonymous'