feat: refine ui permissions of actuator page (#4945)

#### What type of PR is this?

/area console
/kind improvement
/milestone 2.11.x

#### What this PR does / why we need it:

完善系统概览页面的 UI 权限控制。

#### Does this PR introduce a user-facing change?

```release-note
完善系统概览页面的 UI 权限控制。
```
pull/4941/head
Ryan Wang 2023-11-30 10:44:08 +08:00 committed by GitHub
parent c835725dae
commit f5dcb5d925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,7 @@ export default definePlugin({
meta: {
title: "core.actuator.title",
searchable: true,
permissions: ["system:actuator:manage"],
menu: {
name: "core.sidebar.menu.items.actuator",
group: "system",

View File

@ -1176,6 +1176,8 @@ core:
Migration Manage: Backup and Restore Manage
role-template-view-users: User View
role-template-change-password: Change Password
Actuator Management: System Information
Actuator Manage: Access System Information
components:
submit_button:
computed_text: "{text} ({shortcut})"

View File

@ -1176,6 +1176,8 @@ core:
Migration Manage: 备份与恢复管理
role-template-view-users: 用户查看
role-template-change-password: 修改密码
Actuator Management: 系统指标
Actuator Manage: 访问系统指标
components:
submit_button:
computed_text: "{text}{shortcut}"

View File

@ -1176,6 +1176,8 @@ core:
Migration Manage: 備份與還原管理
role-template-view-users: 用戶查看
role-template-change-password: 修改密碼
Actuator Management: 系統指標
Actuator Manage: 訪問系統指標
components:
submit_button:
computed_text: "{text}{shortcut}"