From 781b8b3e072a4e00b1cee56f961280c753cbb460 Mon Sep 17 00:00:00 2001
From: zzw <228544128@qq.com>
Date: 星期二, 06 十月 2026 17:34:29 +0800
Subject: [PATCH] feat: add assigned scope to role permission settings
---
emergency-repair-web/public/sensitive-words.json | 41 +++++++++++++++++++++++++++--------------
1 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/emergency-repair-web/public/sensitive-words.json b/emergency-repair-web/public/sensitive-words.json
index e3565ce..9c7c1ab 100644
--- a/emergency-repair-web/public/sensitive-words.json
+++ b/emergency-repair-web/public/sensitive-words.json
@@ -1,49 +1,61 @@
{
"sensitive_words": [
{
- "codename": "X鍙�",
+ "codename": "rk_SystemName",
+ "real_name": "涓存姠淇鐞嗙郴缁�",
+ "scope": "ui",
+ "note": "System title shown in the login page and application header."
+ },
+ {
+ "codename": "rk_SystemVer",
+ "real_name": "缃戠粶鐗�",
+ "scope": "ui",
+ "note": "System edition shown in red in the application header."
+ },
+ {
+ "codename": "rk_X鍙�",
"real_name": "鍘垮彿",
"scope": "ui",
"note": "Development mode displays the codename. Replace real_name only in the deployed production dictionary."
},
{
- "codename": "JC",
+ "codename": "rk_JC",
"real_name": "JC",
"scope": "ui",
"note": "JC淇℃伅 = JC information."
},
{
- "codename": "JCC",
+ "codename": "rk_JCC",
"real_name": "JCC",
"scope": "ui",
"note": "JCC assistant, director, and acceptance roles."
},
{
- "codename": "CMB",
+ "codename": "rk_CMB",
"real_name": "CMB",
"scope": "ui",
"note": "CMB leader approval role."
},
{
- "codename": "T",
- "real_name": "T",
- "scope": "ui",
- "note": "Word root. T闃熶笓涓�, T鍐呮柦宸�, and T鍛� all use the codename in development."
- },
- {
- "codename": "TD",
+ "codename": "rk_TD",
"real_name": "TD",
"scope": "ui",
"note": "Home page statistic column."
},
{
- "codename": "XCB",
+ "codename": "rk_T",
+ "real_name": "T",
+ "scope": "ui",
+ "note": "Word root. T闃熶笓涓�, T鍐呮柦宸�, and T鍛� all use the codename in development."
+ },
+ {
+ "codename": "rk_XCB",
"real_name": "淇埞鐗�",
"scope": "ui",
"note": "XCB assistant review and dispatch."
},
{
- "codename": "H",
+ "codename": "rk_H",
"real_name": "H",
"scope": "ui",
"note": "Development mode displays H only. Replace real_name after production deployment."
@@ -51,6 +63,7 @@
],
"config": {
"environment": "development",
- "rule": "Build and deploy the normal development package. After deployment, manually replace the real_name values in the deployed dist/sensitive-words.json file in the production environment. Do not rebuild the frontend after that replacement."
+ "rule": "Build and deploy the normal development package. After deployment, manually replace the real_name values in the deployed dist/sensitive-words.json file in the production environment. Do not rebuild the frontend after that replacement.",
+ "code_pre": "ABC"
}
}
--
Gitblit v1.9.1