fix: route (#3401)

This commit is contained in:
shaohuzhang1 2025-06-26 18:05:30 +08:00 committed by GitHub
parent 974f61d2d9
commit 15bfe239a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ const applicationRouter = {
menu: true,
permission: [
RoleConst.ADMIN,
RoleConst.USER,
RoleConst.USER.getWorkspaceRole,
RoleConst.WORKSPACE_MANAGE.getWorkspaceRole,
PermissionConst.APPLICATION_READ.getWorkspacePermissionWorkspaceManageRole,
PermissionConst.APPLICATION_READ.getWorkspacePermission,

View File

@ -7,7 +7,7 @@ const ModelRouter = {
menu: true,
permission: [
RoleConst.ADMIN,
RoleConst.USER,
RoleConst.USER.getWorkspaceRole,
RoleConst.WORKSPACE_MANAGE.getWorkspaceRole,
PermissionConst.KNOWLEDGE_READ.getWorkspacePermission,
PermissionConst.KNOWLEDGE_READ.getWorkspacePermissionWorkspaceManageRole,

View File

@ -7,7 +7,7 @@ const ModelRouter = {
menu: true,
permission: [
RoleConst.ADMIN,
RoleConst.USER,
RoleConst.USER.getWorkspaceRole,
RoleConst.WORKSPACE_MANAGE.getWorkspaceRole,
PermissionConst.MODEL_READ.getWorkspacePermission,
PermissionConst.MODEL_READ.getWorkspacePermissionWorkspaceManageRole,

View File

@ -7,7 +7,7 @@ const ModelRouter = {
menu: true,
permission: [
RoleConst.ADMIN,
RoleConst.USER,
RoleConst.USER.getWorkspaceRole,
RoleConst.WORKSPACE_MANAGE.getWorkspaceRole,
PermissionConst.TOOL_READ.getWorkspacePermission,
PermissionConst.TOOL_READ.getWorkspacePermissionWorkspaceManageRole,