mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 06:27:21 +00:00
[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:
@@ -34,17 +34,11 @@ const ROUTES = [
|
||||
component: './Agent',
|
||||
envEnableList: [ENV_KEY.CHAT],
|
||||
},
|
||||
{
|
||||
{
|
||||
path: '/model',
|
||||
name: 'semanticModel',
|
||||
component: './SemanticModel/DomainManager',
|
||||
envEnableList: [ENV_KEY.SEMANTIC],
|
||||
routes: [
|
||||
{
|
||||
path: '/model',
|
||||
redirect: '/model/:domainId?/:modelId?/:menuKey?',
|
||||
},
|
||||
|
||||
{
|
||||
path: '/model/:domainId?/:modelId?/:menuKey?',
|
||||
component: './SemanticModel/DomainManager',
|
||||
@@ -59,6 +53,7 @@ const ROUTES = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: '/database',
|
||||
name: 'database',
|
||||
@@ -66,7 +61,6 @@ const ROUTES = [
|
||||
component: './SemanticModel/components/Database/DatabaseTable',
|
||||
envEnableList: [ENV_KEY.SEMANTIC],
|
||||
},
|
||||
|
||||
{
|
||||
path: '/metric',
|
||||
name: 'metric',
|
||||
|
||||
Reference in New Issue
Block a user