mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-14 23:44:16 +00:00
feat: 添加配置项 KoKo SSH Client 方式
This commit is contained in:
parent
54097f07be
commit
dd5b805da9
@ -897,6 +897,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
|
"EnableKoKoSSHHelpText": "Enabled, connect assets to display SSH Client pull-up method",
|
||||||
|
"SettingInEndpointHelpText": "Configure the service address and port in System Settings / Terminal Settings / Service Endpoints",
|
||||||
"Feature": "Feature",
|
"Feature": "Feature",
|
||||||
"SMSProvider": "SMS provider",
|
"SMSProvider": "SMS provider",
|
||||||
"SMS": "SMS",
|
"SMS": "SMS",
|
||||||
|
@ -918,6 +918,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
|
"EnableKoKoSSHHelpText": "有効にすると、アセットを接続してSSHクライアントのプルアップ方式を表示します",
|
||||||
|
"SettingInEndpointHelpText": "[システム設定]/[端末設定]/[サービスエンドポイント]でサービスアドレスとポートを構成します",
|
||||||
"Feature": "機能",
|
"Feature": "機能",
|
||||||
"AlibabaCloud": "Alibaba cloud",
|
"AlibabaCloud": "Alibaba cloud",
|
||||||
"TencentCloud": "テンセント雲",
|
"TencentCloud": "テンセント雲",
|
||||||
@ -1490,8 +1492,8 @@
|
|||||||
"InterfaceSettings": "インターフェース設定",
|
"InterfaceSettings": "インターフェース設定",
|
||||||
"License": "ライセンス",
|
"License": "ライセンス",
|
||||||
"ComponentMonitor": "コンポーネントモニタリング",
|
"ComponentMonitor": "コンポーネントモニタリング",
|
||||||
"Endpoint": "ターミナルエンドポイント",
|
"Endpoint": "エンドポイント",
|
||||||
"EndpointRule": "エンドポイントエンドポイントルール",
|
"EndpointRule": "エンドポイントルール",
|
||||||
"ServiceRatio": "コンポーネント負荷統計",
|
"ServiceRatio": "コンポーネント負荷統計",
|
||||||
"LoadStatus": "コンポーネントステータス",
|
"LoadStatus": "コンポーネントステータス",
|
||||||
"NormalLoad": "正常",
|
"NormalLoad": "正常",
|
||||||
|
@ -919,6 +919,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
|
"EnableKoKoSSHHelpText": "开启时连接资产会显示 SSH Client 拉起方式",
|
||||||
|
"SettingInEndpointHelpText": "在 系统设置 / 终端设置 / 服务端点 中配置服务地址和端口",
|
||||||
"Feature": "功能",
|
"Feature": "功能",
|
||||||
"AlibabaCloud": "阿里云",
|
"AlibabaCloud": "阿里云",
|
||||||
"TencentCloud": "腾讯云",
|
"TencentCloud": "腾讯云",
|
||||||
@ -1491,8 +1493,8 @@
|
|||||||
"InterfaceSettings": "界面设置",
|
"InterfaceSettings": "界面设置",
|
||||||
"License": "许可证",
|
"License": "许可证",
|
||||||
"ComponentMonitor": "组件监控",
|
"ComponentMonitor": "组件监控",
|
||||||
"Endpoint": "终端节点",
|
"Endpoint": "服务端点",
|
||||||
"EndpointRule": "终端节点规则",
|
"EndpointRule": "端点规则",
|
||||||
"ServiceRatio": "组件负载统计",
|
"ServiceRatio": "组件负载统计",
|
||||||
"LoadStatus":"组件状态",
|
"LoadStatus":"组件状态",
|
||||||
"NormalLoad":"正常",
|
"NormalLoad":"正常",
|
||||||
|
@ -20,6 +20,7 @@ export default {
|
|||||||
[
|
[
|
||||||
`SSH ${comp}(KoKo)`,
|
`SSH ${comp}(KoKo)`,
|
||||||
[
|
[
|
||||||
|
'TERMINAL_KOKO_SSH_ENABLED',
|
||||||
'TERMINAL_PASSWORD_AUTH', 'TERMINAL_PUBLIC_KEY_AUTH',
|
'TERMINAL_PASSWORD_AUTH', 'TERMINAL_PUBLIC_KEY_AUTH',
|
||||||
'TERMINAL_ASSET_LIST_SORT_BY',
|
'TERMINAL_ASSET_LIST_SORT_BY',
|
||||||
'TERMINAL_ASSET_LIST_PAGE_SIZE', 'TERMINAL_TELNET_REGEX'
|
'TERMINAL_ASSET_LIST_PAGE_SIZE', 'TERMINAL_TELNET_REGEX'
|
||||||
@ -39,16 +40,23 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
|
TERMINAL_KOKO_SSH_ENABLED: {
|
||||||
|
helpText: this.$i18n.t('common.Info') + ': ' + this.$i18n.t('setting.EnableKoKoSSHHelpText')
|
||||||
|
},
|
||||||
TERMINAL_TELNET_REGEX: {
|
TERMINAL_TELNET_REGEX: {
|
||||||
type: 'input'
|
type: 'input'
|
||||||
},
|
},
|
||||||
XRDP_ENABLED: {
|
XRDP_ENABLED: {
|
||||||
|
helpText: this.$i18n.t('common.Info') + ': ' + this.$i18n.t('setting.SettingInEndpointHelpText'),
|
||||||
hidden: () => {
|
hidden: () => {
|
||||||
return !this.$store.getters.hasValidLicense
|
return !this.$store.getters.hasValidLicense
|
||||||
},
|
},
|
||||||
el: {
|
el: {
|
||||||
hiddenGroup: true
|
hiddenGroup: true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
TERMINAL_MAGNUS_ENABLED: {
|
||||||
|
helpText: this.$i18n.t('common.Info') + ': ' + this.$i18n.t('setting.SettingInEndpointHelpText')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getUrl: () => '/api/v1/settings/setting/?category=terminal',
|
getUrl: () => '/api/v1/settings/setting/?category=terminal',
|
||||||
|
@ -100,6 +100,7 @@ export default {
|
|||||||
'assets.gateway': ['assets.view_domain'],
|
'assets.gateway': ['assets.view_domain'],
|
||||||
'assets.view_authbook': ['assets.view_node'],
|
'assets.view_authbook': ['assets.view_node'],
|
||||||
'assets.gathereduser': ['assets.view_node'],
|
'assets.gathereduser': ['assets.view_node'],
|
||||||
|
'assets.refresh_assethardwareinfo': ['assets.change_asset'],
|
||||||
'xpack.gatherusertaskexecution': ['xpack.view_gatherusertask'],
|
'xpack.gatherusertaskexecution': ['xpack.view_gatherusertask'],
|
||||||
'applications.add_application': ['assets.view_asset'],
|
'applications.add_application': ['assets.view_asset'],
|
||||||
'applications.view_account': ['applications.view_application'],
|
'applications.view_account': ['applications.view_application'],
|
||||||
|
Loading…
Reference in New Issue
Block a user