From 76dffc56f5ff38163e761905f3265a5e9a7a970a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 10 Jul 2025 15:09:13 +0800 Subject: [PATCH] bugfix --- json/userapp.json | 5 ++--- json/userrole.json | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 json/userrole.json diff --git a/json/userapp.json b/json/userapp.json index 82d65f6..4803a81 100644 --- a/json/userapp.json +++ b/json/userapp.json @@ -1,10 +1,9 @@ { - "models_dir": "${HOME}$/py/rbac/models", - "output_dir": "${HOME}$/py/sage/wwwroot/_a/userapp", - "dbname": "sage", "tblname": "userapp", "title":"用户", "params": { + "confidential_fields":["apikey"], + "sortby":"appname", "browserfields": { "exclouded": ["id", "userid"], "cwidth": {} diff --git a/json/userrole.json b/json/userrole.json new file mode 100644 index 0000000..4363c3e --- /dev/null +++ b/json/userrole.json @@ -0,0 +1,14 @@ +{ + "tblname": "userrole", + "title":"用户角色管理", + "params": { + "browserfields": { + "exclouded": ["id", "orgid"], + "alters": {} + }, + "editexclouded": [ + "id", + "userid" + ] + } +}