mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-13 21:59:14 +00:00
Merge pull request #2948 from jumpserver/pr@dev@bulk_create_account
perf: 批量创建账号
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
||||
'secret_type', 'secret', 'ssh_key', 'token',
|
||||
'api_key', 'passphrase'
|
||||
]],
|
||||
[this.$t('common.Other'), ['push_now', 'is_active', 'comment']]
|
||||
[this.$t('common.Other'), ['push_now', 'strategy', 'is_active', 'comment']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
assets: {
|
||||
@@ -77,6 +77,14 @@ export default {
|
||||
return this.platform || this.asset
|
||||
}
|
||||
},
|
||||
strategy: {
|
||||
rules: [Required],
|
||||
label: this.$t('ops.RunasPolicy'),
|
||||
helpText: this.$t('accounts.BulkCreateStrategy'),
|
||||
hidden: () => {
|
||||
return this.platform || this.asset
|
||||
}
|
||||
},
|
||||
name: {
|
||||
rules: [RequiredChange],
|
||||
on: {
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"": "",
|
||||
"accounts": {
|
||||
"BulkCreateStrategy": "When creating accounts that do not meet the requirements, such as key type non-compliance and unique key constraints, the above policies can be selected.",
|
||||
"HistoryDate": "History date",
|
||||
"SameTypeAccountTip": "An account with the same user name and key type already exists",
|
||||
"HistoryPassword": "History password",
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"": "",
|
||||
"accounts": {
|
||||
"BulkCreateStrategy": "作成時に要件を満たしていないアカウント(例:鍵タイプが規則に合わない、一意のキー制約がある、上記のポリシーを選択することができます)について。",
|
||||
"HistoryDate": "历史日期",
|
||||
"SameTypeAccountTip": "同じユーザー名、鍵タイプのアカウントはすでに存在します",
|
||||
"HistoryPassword": "履歴パスワード",
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"": "",
|
||||
"accounts": {
|
||||
"BulkCreateStrategy": "创建时对于不符合要求的账号,如:密钥类型不合规,唯一键约束,可选择以上策略。",
|
||||
"AccountTemplate": "账号模版",
|
||||
"HistoryDate": "日期",
|
||||
"SameTypeAccountTip": "相同用户名、密钥类型的账号已存在",
|
||||
|
Reference in New Issue
Block a user