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' ]