[improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab. (#63)

[improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions.
[improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager.
This commit is contained in:
tristanliu
2023-09-09 18:36:54 +08:00
committed by GitHub
parent 71d9f9c9e9
commit 5bab18e092
18 changed files with 91 additions and 98 deletions

View File

@@ -60,6 +60,7 @@ export declare namespace IDataSource {
name: string;
bizName: string;
description: string;
modelId: number;
status: number | null;
sensitiveLevel: SensitiveLevel;
domainId: number;
@@ -79,6 +80,7 @@ export declare namespace ISemantic {
name: string;
bizName: string;
description: any;
hasEditPermission: boolean;
status?: number;
typeEnum?: any;
sensitiveLevel?: number;
@@ -135,6 +137,7 @@ export declare namespace ISemantic {
expr: string;
fullPath: string;
datasourceId: number;
modelId: number;
datasourceName: string;
datasourceBizName: string;
semanticType: string;
@@ -178,6 +181,7 @@ export declare namespace ISemantic {
sensitiveLevel: number;
domainId: number;
domainName: string;
modelId: number;
type: string;
typeParams: ITypeParams;
fullPath: string;