Merge branch 'dev' into order-delivery-reply

# Conflicts:
#	backend/app/models/user.py
#	docs/demand.md
#	docs/funclist.md
#	frontend/src/features/auth/stores/auth.store.ts
#            dev existing problems
This commit is contained in:
HTEWJ\26070045 committed 2026-09-29 16:38:05 +08:00
commit 821bd0a62c
101 files changed
+4784 -527

No files matched your search

+96 -3
View File
@@ -1968,6 +1968,97 @@
"updateSuccess": "Permissions updated successfully"
}
},
"permRoles": {
"subtitle": "Grant apps and in-app features by permission group. Each user has one role.",
"create": "New role",
"tabs": {
"roles": "Roles",
"matrix": "Access matrix"
},
"headers": {
"name": "Role",
"description": "Description",
"members": "Members",
"apps": "Apps"
},
"memberCount": "{count} members",
"allApps": "All apps (implicit)",
"badge": {
"default": "Default",
"admin": "Admin"
},
"matrixHint": "The matrix is read-only. Change access by editing a role or its members.",
"directGrantDisabled": "Per-user app ticks are disabled. Grant apps on a role, then adjust members.",
"useRolePage": "Use App Permissions to grant apps on a role. Per-user assignment is disabled.",
"userFormHint": "App access comes from this role. Department is only a filter.",
"userRoleConfirmTitle": "Confirm role change",
"userRoleConfirm": "Move this user to the selected role? Their apps will be rewritten immediately.",
"userAdminConfirm": "Change admin membership? The people picker cannot add or remove admins; this form will rewrite access immediately.",
"batchRoleConfirm": "Change roles for the selected users? Their apps will be rewritten from the new role.",
"edit": {
"title": "Edit role",
"createTitle": "New role",
"subtitle": "Saving applies immediately to everyone in this role.",
"code": "Code",
"codeHint": "Start with a lowercase letter; letters, digits and underscore only",
"name": "Name",
"description": "Description",
"isDefault": "Default role for new users",
"apps": "Apps",
"appsHint": "Tick an app for access. Apps with features: open “N features” on the right, then tick them.",
"adminAllApps": "Admins get every app implicitly; you can still tighten features below.",
"features": "Feature permissions",
"selectedCount": "{count} selected",
"featureCount": "{count} features",
"filterPlaceholder": "Filter apps",
"noMatch": "No matching apps"
},
"confirm": {
"title": "Confirm member changes",
"subtitle": "The following people will be moved into “{name}”.",
"added": "Add {count}",
"removed": "Remove {count}",
"stolenHint": "will lose their current role access",
"backToDefault": "Unchecked people return to the default role.",
"noChanges": "Selection matches current members. Nothing to confirm.",
"apply": "Confirm"
},
"picker": {
"title": "Choose members of “{name}”",
"subtitle": "Departments only filter the list. Select all is a draft; you still confirm after OK."
},
"saveConfirm": {
"title": "Save role",
"message": "This role has {count} members. Saving will rewrite their app access immediately."
},
"msg": {
"nameRequired": "Role name is required",
"codeInvalid": "Code must start with a lowercase letter and use letters, digits or underscore",
"saved": "Role saved",
"deleted": "Role deleted",
"systemLocked": "Built-in roles cannot be deleted",
"adminLocked": "Change admins in user management with an extra confirmation",
"membersUpdated": "Members updated"
},
"features": {
"training_hr_manage": "HR management",
"shipping_notice_force_create": "Force-create duplicate orders",
"shipping_notice_audit_sensitive_read": "Read sensitive audit",
"shipping_notice_xfa_split_rule_edit": "Edit XFA split rules",
"shipping_notice_xfa_split_rule_preview": "Preview split",
"shipping_notice_xfa_split_rule_publish": "Publish split rules",
"maintenance_ledger_write": "Ledger and repair maintenance"
},
"featureHints": {
"training_hr_manage": "View stats, filter records, and export Excel",
"shipping_notice_force_create": "Skip duplicate blocking and create a new shipping notice",
"shipping_notice_audit_sensitive_read": "View before / after / Diff text",
"shipping_notice_xfa_split_rule_edit": "Maintain field split rules",
"shipping_notice_xfa_split_rule_preview": "Preview split results",
"shipping_notice_xfa_split_rule_publish": "Review and publish rules",
"maintenance_ledger_write": "Maintain device ledger and repair records"
}
},
"request": {
"title": "Permission Requests",
"subtitle": "Review user requests for agent access",
@@ -3010,10 +3101,12 @@
}
},
"role": {
"user": "User",
"hr": "HR",
"maintenanceManager": "Maintenance Admin",
"user": "Standard user",
"hr": "Training HR",
"maintenanceManager": "Maintenance specialist",
"admin": "Admin",
"rd": "R&D apps",
"shipping": "Shipping specialist",
"guest": "Guest"
},
"status": {
+13
View File
@@ -249,6 +249,19 @@
"USER_EMPLOYEE_ID_EXISTS": "Employee ID already exists.",
"USER_PHONE_EXISTS": "Phone number already exists.",
"USER_UNIQUENESS_CONFLICT": "Data uniqueness conflict.",
"ROLE.DIRECT_GRANT_DISABLED": "App access is granted by permission role; per-user ticks are disabled.",
"ROLE.NOT_FOUND": "Permission role not found.",
"ROLE.CODE_INVALID": "Invalid role code.",
"ROLE.CODE_RESERVED": "Cannot create another admin role.",
"ROLE.CODE_EXISTS": "Role code already exists.",
"ROLE.NAME_REQUIRED": "Role name is required.",
"ROLE.SORT_INVALID": "Invalid sort order.",
"ROLE.DEFAULT_REQUIRED": "Keep at least one default role.",
"ROLE.SYSTEM_LOCKED": "Built-in roles cannot be deleted.",
"ROLE.HAS_MEMBERS": "Role still has members and cannot be deleted.",
"ROLE.ADMIN_LOCKED": "Admin members cannot be changed here.",
"ROLE.REQUIRED": "Please select a role.",
"ROLE.LAST_ADMIN": "Cannot demote the last admin.",
"SYSTEM_INTERNAL_ERROR": "Internal server error. Please try again later.",
"AGENT_HANDLER_NOT_CONFIGURED": "Agent business handler is not configured. Please contact an administrator.",
"AGENT_RUNTIME_CAPABILITY_NOT_DECLARED": "This application type does not declare the requested background business capability.",