Skip to content

Commit

Permalink
fix: resolve the issue of missing UI permission configuration for men…
Browse files Browse the repository at this point in the history
…us. (#30)

#### What type of PR is this?

/kind bug

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

解决菜单缺少权限配置导致无权限的用户也可以访问到插件的问题。

#### How to test it?

使用无迁移权限的角色登录 Console,查看是否会显示迁移功能。

#### Which issue(s) this PR fixes:

Fixes #29 

#### Does this PR introduce a user-facing change?
```release-note
解决权限的用户也可以看到迁移菜单的问题
```
  • Loading branch information
LIlGG committed Sep 18, 2023
1 parent 34ac858 commit 4333476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions console/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default definePlugin({
meta: {
title: "迁移",
searchable: true,
permissions: ["plugin:PluginMigrate:migrate"],
menu: {
name: "迁移",
group: "tool",
Expand Down

0 comments on commit 4333476

Please sign in to comment.