halo-sigs / plugin-migrate

支持多种平台的数据迁移插件
https://halo.run/store/apps/app-TlUBt
GNU General Public License v3.0
8 stars 5 forks source link

fix: resolve the issue of missing UI permission configuration for menus. #30

Closed LIlGG closed 1 year ago

LIlGG commented 1 year ago

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?

解决权限的用户也可以看到迁移菜单的问题
f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang, ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-sigs/plugin-migrate/blob/main/OWNERS)~~ [JohnNiang,ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment