From 3a2efc25f1c01ef59587a2dd0e981415729f5429 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 29 Nov 2024 15:36:09 +0800 Subject: [PATCH] bugfix --- json/role.json | 6 ++++++ json/rolepermission.json | 1 + script/init.py | 2 ++ 3 files changed, 9 insertions(+) diff --git a/json/role.json b/json/role.json index 1bf63b1..3c52962 100644 --- a/json/role.json +++ b/json/role.json @@ -19,6 +19,12 @@ "title":"角色权限", "url":"../rolepermission", "subtable":"rolepermission" + }, + { + "field":"roleid", + "title":"用户", + "url":"../users", + "subtable":"users" } ] } diff --git a/json/rolepermission.json b/json/rolepermission.json index b8b883d..49bf3fd 100644 --- a/json/rolepermission.json +++ b/json/rolepermission.json @@ -9,6 +9,7 @@ "outter_field":"permid", "param_field":"roleid" }, + "noedit":true, "browserfields": { "exclouded": ["id", "roleid"], "alters":{ diff --git a/script/init.py b/script/init.py index b363020..69fe7d7 100644 --- a/script/init.py +++ b/script/init.py @@ -52,6 +52,8 @@ av_folders = [ '/login.ui', '/up_login.dspy', '/public', + '/rbac/userpassword_login.ui', + '/rbac/userpassword_login.dspy', '/tmp' ]