halo-sigs / plugin-migrate

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

refactor: remove role template #46

Closed ruibaby closed 4 months ago

ruibaby commented 4 months ago

因为此插件的定位,基本上只有超级管理员才有使用的可能,所以建议直接移除 Role Template 定义,并且将 Console 入口的 UI 权限限制为超级管理员。

修改插件的权限逻辑,改为仅面向超级管理员可用。
f2c-ci-robot[bot] commented 4 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing, LIlGG

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)~~ [guqing] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment