feat(xugu): add visual user and privilege management
This commit is contained in:
1 parent
4949cce746
commit
ad221eeb88
14 files changed
+2500
-3
No files matched your search
@@ -3806,6 +3806,8 @@ export default {
|
||||
configureVisibleObjects: "Visible Object Filter",
|
||||
userAdmin: "Users & Privileges",
|
||||
openUserAdmin: "Open Users & Privileges",
|
||||
xuguUserPermissions: "Xugu Users & Privileges",
|
||||
openXuguUserPermissions: "Open Xugu Users & Privileges",
|
||||
processList: "Process List",
|
||||
sqlServerTrace: "Activity Trace",
|
||||
serverDashboard: "Server Dashboard",
|
||||
@@ -4308,6 +4310,7 @@ export default {
|
||||
savedSql: "SQL Library",
|
||||
queries: "Queries",
|
||||
userAdmin: "Users & Privileges",
|
||||
xuguUserPermissions: "Xugu Users & Privileges",
|
||||
damengUsers: "Users",
|
||||
damengRoles: "Roles",
|
||||
damengJobAdmin: "Agent Jobs",
|
||||
@@ -4810,6 +4813,101 @@ export default {
|
||||
scopeFunctions: "functions",
|
||||
stepSkipped: "Skipped because a required previous step failed.",
|
||||
},
|
||||
xuguUserPermissions: {
|
||||
title: "Xugu Users & Privileges",
|
||||
refresh: "Refresh",
|
||||
databaseContext: "Manage database",
|
||||
chooseDatabase: "Choose a database",
|
||||
databaseContextUnknown: "The active database could not be identified. Select one from the list above if available; otherwise verify the connection's default database and refresh. Changes remain disabled until the context is explicit.",
|
||||
databaseListLimited: "The database list could not be fully loaded; this page is limited to the confirmed database context.",
|
||||
newPrincipal: "New User / Role",
|
||||
users: "Users",
|
||||
roles: "Roles",
|
||||
search: "Search users or roles",
|
||||
system: "System",
|
||||
locked: "Locked",
|
||||
active: "Active",
|
||||
expired: "Expired",
|
||||
validUntil: "Valid until: {value}",
|
||||
inheritedRoles: "Inherited roles: {roles}",
|
||||
role: "Role",
|
||||
user: "User",
|
||||
systemPrincipal: "System principal",
|
||||
readOnly: "Read-only connection",
|
||||
readOnlyHint: "This connection is read-only; management actions are disabled.",
|
||||
limitedCatalog: "This account cannot read the complete user and role catalogs, so only visible principals are listed. Management actions are disabled to prevent mistakes from incomplete information.",
|
||||
limitedAcl: "Only ACL rows visible to the current account are available; grants for other users or roles may be missing.",
|
||||
managementRequiresDba: "Full management requires access to DBA_USERS, DBA_ROLES, DBA_ROLE_MEMBERS, and DBA_ACLS. Otherwise, only visible information is shown and changes are disabled.",
|
||||
targetLookupFailed: "Could not load object/column names. You may enter an exact name manually; review it carefully before execution.",
|
||||
targetLookupIncomplete: "The candidate list is capped at 1,000 items. Enter the exact name manually if the target is not listed.",
|
||||
columnGrantOptionUnsupported: "Xugu does not support WITH GRANT OPTION for column-level privileges.",
|
||||
empty: "No visible users or roles.",
|
||||
grantsTitle: "Privilege Details",
|
||||
grantsHint: "Direct grants and grants inherited through roles are listed separately. This is not a complete database-computed effective-privilege report.",
|
||||
loading: "Loading...",
|
||||
noGrants: "No visible grant rows were found.",
|
||||
unmappedAuthority: "Unmapped authority",
|
||||
privilege: "Privilege",
|
||||
scope: "Scope",
|
||||
scopeDatabase: "Current database",
|
||||
scopeSystem: "Instance-level",
|
||||
scopeSchema: "Schema",
|
||||
scopeObject: "Object",
|
||||
scopeColumn: "Column",
|
||||
scopeRole: "Role membership",
|
||||
scopeAdmin: "Administrative authority",
|
||||
target: "Target",
|
||||
source: "Source",
|
||||
grantable: "Grantable",
|
||||
viaRole: "Via role {role}",
|
||||
direct: "Direct grant",
|
||||
yes: "Yes",
|
||||
no: "No",
|
||||
editorTitle: "Grant / Revoke",
|
||||
editorHint: "Catalog queries use the database selected above. Grant SQL is shown for review first; instance-level privileges affect the whole instance.",
|
||||
systemScopeHint: "Available only while connected to SYSTEM. Creating, altering, or dropping a database affects the current instance.",
|
||||
systemWide: "This grants or revokes an instance-level privilege and affects the whole instance, not only the current database.",
|
||||
schema: "Schema name",
|
||||
objectType: "Object type",
|
||||
tableColumn: "Table column",
|
||||
viewColumn: "View column",
|
||||
object: "Object name",
|
||||
column: "Column name",
|
||||
roleToGrant: "Role name to grant",
|
||||
adminAuthority: "Administrative authority",
|
||||
grantOption: "Allow further object grants (WITH GRANT OPTION)",
|
||||
revokeGrantOptionOnly: "Revoke grant option only",
|
||||
grantOptionScope: "WITH GRANT OPTION is available only for object-level grants; Xugu does not support column-level grant option.",
|
||||
grant: "Grant",
|
||||
revoke: "Revoke",
|
||||
newUser: "New User",
|
||||
createUser: "User",
|
||||
createRole: "Role",
|
||||
name: "Name",
|
||||
initialPassword: "Initial password",
|
||||
defaultRoles: "Default roles (select multiple)",
|
||||
createLocked: "Lock account after creation",
|
||||
createPasswordExpired: "Require a password reset after creation",
|
||||
accountCreateHint: "New account attributes are shown as SQL for review first; a locked or password-expired account cannot sign in normally.",
|
||||
accountSettings: "Account settings",
|
||||
setValidUntil: "Set account expiration date",
|
||||
markPasswordExpired: "Mark password as expired",
|
||||
passwordAlreadyExpiredHint: "The password is already expired. Use Change Password to clear the expired state.",
|
||||
accountSettingsHint: "Leave the expiration date blank to keep the current value. Clearing an existing expiration is not available here; use the account card to lock or unlock the user.",
|
||||
changePassword: "Change password",
|
||||
newPassword: "Enter new password",
|
||||
lock: "Lock",
|
||||
unlock: "Unlock",
|
||||
dropUser: "Drop user",
|
||||
dropRole: "Drop role",
|
||||
preview: "Preview SQL",
|
||||
review: "Review action: {action}",
|
||||
currentDatabaseOnly: "SQL runs against the database selected above. User drop uses RESTRICT, never CASCADE. Built-in and system principals cannot be dropped here.",
|
||||
execute: "Confirm and execute",
|
||||
operationSuccess: "Operation completed; privilege data refreshed.",
|
||||
operationFailed: "Operation failed",
|
||||
operationFailedWithMessage: "Operation failed: {message}",
|
||||
},
|
||||
damengJobAdmin: {
|
||||
title: "Dameng Agent Jobs",
|
||||
unsupported: "This page only supports Dameng connections.",
|
||||
|
||||
@@ -3720,6 +3720,8 @@ export default withEnglishFallback({
|
||||
duplicateSelectedConnections: "复制选中的 {count} 个连接",
|
||||
userAdmin: "用户与权限",
|
||||
openUserAdmin: "打开用户与权限",
|
||||
xuguUserPermissions: "虚谷用户与权限",
|
||||
openXuguUserPermissions: "打开虚谷用户与权限",
|
||||
processList: "进程列表",
|
||||
sqlServerTrace: "活动跟踪",
|
||||
serverDashboard: "服务器仪表盘",
|
||||
@@ -4218,6 +4220,7 @@ export default withEnglishFallback({
|
||||
savedSql: "SQL 库",
|
||||
queries: "查询",
|
||||
userAdmin: "用户与权限",
|
||||
xuguUserPermissions: "虚谷用户与权限",
|
||||
damengUsers: "用户",
|
||||
damengRoles: "角色",
|
||||
damengJobAdmin: "代理作业",
|
||||
@@ -4785,6 +4788,101 @@ export default withEnglishFallback({
|
||||
scopeFunctions: "函数",
|
||||
stepSkipped: "因依赖的前置步骤失败而跳过。",
|
||||
},
|
||||
xuguUserPermissions: {
|
||||
title: "虚谷用户与权限",
|
||||
refresh: "刷新",
|
||||
databaseContext: "管理数据库",
|
||||
chooseDatabase: "选择数据库",
|
||||
databaseContextUnknown: "无法确认当前数据库。若上方有可选数据库,请选择一个;否则请检查连接默认数据库后刷新。上下文明确前,所有授权和账号修改操作都会禁用。",
|
||||
databaseListLimited: "无法完整读取数据库列表;当前页面仅针对已确认的数据库操作。",
|
||||
newPrincipal: "新建用户 / 角色",
|
||||
users: "用户",
|
||||
roles: "角色",
|
||||
search: "搜索用户或角色",
|
||||
system: "系统",
|
||||
locked: "已锁定",
|
||||
active: "正常",
|
||||
expired: "已过期",
|
||||
validUntil: "有效期至:{value}",
|
||||
inheritedRoles: "继承角色:{roles}",
|
||||
role: "角色",
|
||||
user: "用户",
|
||||
systemPrincipal: "系统主体",
|
||||
readOnly: "只读连接",
|
||||
readOnlyHint: "当前连接为只读,管理操作已禁用。",
|
||||
limitedCatalog: "当前账号无法读取完整的用户和角色字典,因此只显示可见范围;为避免不完整信息导致误操作,所有管理操作已禁用。",
|
||||
limitedAcl: "仅能读取当前账号可见的权限记录,未必包含数据库内所有用户/角色的授权。",
|
||||
managementRequiresDba: "完整管理需要有权读取 DBA_USERS、DBA_ROLES、DBA_ROLE_MEMBERS 和 DBA_ACLS;否则仅显示可见信息且不能修改。",
|
||||
targetLookupFailed: "对象/列目录读取失败;可以手动填写准确名称,执行前请仔细核对。",
|
||||
targetLookupIncomplete: "候选列表最多显示 1000 项;若未列出目标,请手动填写准确名称。",
|
||||
columnGrantOptionUnsupported: "虚谷列级权限不支持 WITH GRANT OPTION。",
|
||||
empty: "没有可显示的用户或角色。",
|
||||
grantsTitle: "权限明细",
|
||||
grantsHint: "直接授权与通过角色继承的授权分开展示;这不是数据库计算后的完整有效权限报告。",
|
||||
loading: "正在加载...",
|
||||
noGrants: "当前未发现可见的授权记录。",
|
||||
unmappedAuthority: "未映射权限值",
|
||||
privilege: "权限",
|
||||
scope: "授权范围",
|
||||
scopeDatabase: "当前数据库",
|
||||
scopeSystem: "实例级",
|
||||
scopeSchema: "模式",
|
||||
scopeObject: "对象",
|
||||
scopeColumn: "列",
|
||||
scopeRole: "角色成员",
|
||||
scopeAdmin: "管理权限",
|
||||
target: "目标",
|
||||
source: "来源",
|
||||
grantable: "可继续授权",
|
||||
viaRole: "通过角色 {role}",
|
||||
direct: "直接授权",
|
||||
yes: "是",
|
||||
no: "否",
|
||||
editorTitle: "授权 / 撤权",
|
||||
editorHint: "目录查询针对上方选择的数据库;授权 SQL 会先展示供确认,实例级权限除外,它会作用于整个实例。",
|
||||
systemScopeHint: "仅在 SYSTEM 库连接下可授予;创建、修改或删除数据库会影响当前实例。",
|
||||
systemWide: "此操作授予或回收实例级权限,将影响整个实例,而不只是当前数据库。",
|
||||
schema: "模式名",
|
||||
objectType: "对象类型",
|
||||
tableColumn: "表列",
|
||||
viewColumn: "视图列",
|
||||
object: "对象名",
|
||||
column: "列名",
|
||||
roleToGrant: "授予的角色名",
|
||||
adminAuthority: "管理权限类型",
|
||||
grantOption: "允许继续授予对象权限(WITH GRANT OPTION)",
|
||||
revokeGrantOptionOnly: "只撤销继续授权选项",
|
||||
grantOptionScope: "WITH GRANT OPTION 仅用于对象级授权;虚谷不支持列级转授权。",
|
||||
grant: "授权",
|
||||
revoke: "撤权",
|
||||
newUser: "新建用户",
|
||||
createUser: "用户",
|
||||
createRole: "角色",
|
||||
name: "名称",
|
||||
initialPassword: "初始密码",
|
||||
defaultRoles: "默认角色(可多选)",
|
||||
createLocked: "创建后锁定账号",
|
||||
createPasswordExpired: "创建后要求重置密码",
|
||||
accountCreateHint: "新账号属性会先展示为 SQL 供确认;锁定或密码过期会阻止该用户正常登录。",
|
||||
accountSettings: "账号状态设置",
|
||||
setValidUntil: "设置有效期截止时间",
|
||||
markPasswordExpired: "将密码标记为过期",
|
||||
passwordAlreadyExpiredHint: "密码已过期;如需解除,请使用“修改密码”。",
|
||||
accountSettingsHint: "有效期留空表示不修改现有值;目前不提供清除有效期的操作。锁定状态可通过账号卡片上的锁定/解锁按钮管理。",
|
||||
changePassword: "修改密码",
|
||||
newPassword: "输入新密码",
|
||||
lock: "锁定",
|
||||
unlock: "解锁",
|
||||
dropUser: "删除用户",
|
||||
dropRole: "删除角色",
|
||||
preview: "预览 SQL",
|
||||
review: "确认操作:{action}",
|
||||
currentDatabaseOnly: "SQL 通过上方选择的数据库执行。删除用户使用 RESTRICT,不会级联删除对象;内置/系统主体不可从此界面删除。",
|
||||
execute: "确认执行",
|
||||
operationSuccess: "操作已执行,权限信息已刷新。",
|
||||
operationFailed: "操作执行失败",
|
||||
operationFailedWithMessage: "操作执行失败:{message}",
|
||||
},
|
||||
damengJobAdmin: {
|
||||
title: "达梦代理作业",
|
||||
unsupported: "当前页面仅支持达梦数据库连接。",
|
||||
|
||||
Reference in new issue
Block a user