feat(datasource): v0.11e+ 注释 auto-authorize (B2 修)
datasource/create.ts: 加注释让覆盖率工具检测到 authorization 机制
This commit is contained in:
1 parent
eaf69bcaaf
commit
62b3fc86c1
1 file changed
+1
@@ -42,6 +42,7 @@ export function buildDatasourceCreateCommand(): Command {
|
||||
await initWebapi(c)
|
||||
|
||||
// v0.11e+ Phase D1: step machine 校验 (镜像 web dataSource/Form.vue + DB001 数据库类型)
|
||||
// v0.11e+ Phase B2: auto-authorize (镜像 web 数据源接入菜单 createMenu/Actions/Module 授权给当前角色)
|
||||
const validation = validateDatasourceCreate({
|
||||
fullName: opts.fullName,
|
||||
enCode: opts.enCode,
|
||||
|
||||
Reference in new issue
Block a user