mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 16:12:55 +00:00
fix: route (#3401)
This commit is contained in:
parent
974f61d2d9
commit
15bfe239a4
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue