Merge pull request #13364 from dataease/pr@dev-v2@perf_export_auth

perf(X-Pack): 导出权限独立控制
This commit is contained in:
王嘉豪 2024-11-15 17:15:21 +08:00 committed by GitHub
commit dae7d6c021
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,7 @@ export interface BusiTreeNode {
name: string
leaf?: boolean
weight: number
ext?: number
extraFlag: number
children?: BusiTreeNode[]
}

@ -1 +1 @@
Subproject commit d02a09a6780123598f4e1068cb6762ff9150b07d
Subproject commit bba26306bc91332d6c62e0638a28ed4bc653c13c

View File

@ -1,7 +1,7 @@
package io.dataease.constant;
public enum AuthEnum {
READ(1), EXPORT(4), MANAGE(7), AUTH(9);
READ(1), EXPORT(4), EXPORT_VIEW(5), EXPORT_DETAIL(6), MANAGE(7), AUTH(9);
private Integer weight;
public Integer getWeight() {

View File

@ -32,4 +32,6 @@ public class BusiNodeVO implements TreeResultModel<BusiNodeVO>, Serializable {
private String type;
@Schema(description = "子节点")
private List<BusiNodeVO> children;
@Schema(description = "独立权重")
private Integer ext;
}