[FEAT] 實作角色權限分類、租戶角控管理與介面多語系優化
1. [FEAT] 權限劃分為「系統層級」與「客戶層級」,並在後端強制過濾跨權限分配。 2. [FEAT] 整合選單權限至主選單層級 (基本設定、權限設定),簡化角色管理 UI。 3. [STYLE] 側邊欄優化:補齊多語系翻譯,並為基本設定子選單增加視覺圖示。 4. [REFACTOR] 更新 RoleSeeder,將 tenant-admin 重新分類為客戶層級角色。
This commit is contained in:
18
lang/en.json
18
lang/en.json
@@ -140,13 +140,15 @@
|
||||
"Clear Stock": "Clear Stock",
|
||||
"APK Versions": "APK Versions",
|
||||
"Discord Notifications": "Discord Notifications",
|
||||
"Basic Settings": "Basic Settings",
|
||||
"Machine Settings": "Machine Settings",
|
||||
"Permission Settings": "Permission Settings",
|
||||
"APP Features": "APP Features",
|
||||
"Sales": "Sales",
|
||||
"Others": "Others",
|
||||
"AI Prediction": "AI Prediction",
|
||||
"Roles": "Roles",
|
||||
"Role Management": "Role Management",
|
||||
"Roles": "Role Permissions",
|
||||
"Role Management": "Role Permission Management",
|
||||
"Define and manage security roles and permissions.": "Define and manage security roles and permissions.",
|
||||
"Search roles...": "Search roles...",
|
||||
"No permissions": "No permissions",
|
||||
@@ -162,6 +164,11 @@
|
||||
"Permissions": "Permissions",
|
||||
"Users": "Users",
|
||||
"System role name cannot be modified.": "System role name cannot be modified.",
|
||||
"The Super Admin role name cannot be modified.": "The Super Admin role name cannot be modified.",
|
||||
"System Level": "System Level",
|
||||
"Company Level": "Company Level",
|
||||
"Global roles accessible by all administrators.": "Global roles accessible by all administrators.",
|
||||
"Roles scoped to specific customer companies.": "Roles scoped to specific customer companies.",
|
||||
"members": "Member Management",
|
||||
"machines": "Machine Management",
|
||||
"app": "APP Management",
|
||||
@@ -176,8 +183,9 @@
|
||||
"special-permission": "Special Permission",
|
||||
"companies": "Customer Management",
|
||||
"accounts": "Account Management",
|
||||
"roles": "Role Settings",
|
||||
"Role Settings": "Role Settings",
|
||||
"roles": "Role Permissions",
|
||||
"Role Permissions": "Role Permissions",
|
||||
"Role Settings": "Role Permissions",
|
||||
"No login history yet": "No login history yet",
|
||||
"Signed in as": "Signed in as",
|
||||
"Logout": "Logout",
|
||||
@@ -268,5 +276,7 @@
|
||||
"Unknown": "Unknown",
|
||||
"Info": "Info",
|
||||
"Warning": "Warning",
|
||||
"basic-settings": "Basic Settings",
|
||||
"permissions": "Permission Settings",
|
||||
"Error": "Error"
|
||||
}
|
||||
Reference in New Issue
Block a user