mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-14 14:19:16 +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',
|
'secret_type', 'secret', 'ssh_key', 'token',
|
||||||
'api_key', 'passphrase'
|
'api_key', 'passphrase'
|
||||||
]],
|
]],
|
||||||
[this.$t('common.Other'), ['push_now', 'is_active', 'comment']]
|
[this.$t('common.Other'), ['push_now', 'strategy', 'is_active', 'comment']]
|
||||||
],
|
],
|
||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
assets: {
|
assets: {
|
||||||
@@ -77,6 +77,14 @@ export default {
|
|||||||
return this.platform || this.asset
|
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: {
|
name: {
|
||||||
rules: [RequiredChange],
|
rules: [RequiredChange],
|
||||||
on: {
|
on: {
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"": "",
|
"": "",
|
||||||
"accounts": {
|
"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",
|
"HistoryDate": "History date",
|
||||||
"SameTypeAccountTip": "An account with the same user name and key type already exists",
|
"SameTypeAccountTip": "An account with the same user name and key type already exists",
|
||||||
"HistoryPassword": "History password",
|
"HistoryPassword": "History password",
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"": "",
|
"": "",
|
||||||
"accounts": {
|
"accounts": {
|
||||||
|
"BulkCreateStrategy": "作成時に要件を満たしていないアカウント(例:鍵タイプが規則に合わない、一意のキー制約がある、上記のポリシーを選択することができます)について。",
|
||||||
"HistoryDate": "历史日期",
|
"HistoryDate": "历史日期",
|
||||||
"SameTypeAccountTip": "同じユーザー名、鍵タイプのアカウントはすでに存在します",
|
"SameTypeAccountTip": "同じユーザー名、鍵タイプのアカウントはすでに存在します",
|
||||||
"HistoryPassword": "履歴パスワード",
|
"HistoryPassword": "履歴パスワード",
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"": "",
|
"": "",
|
||||||
"accounts": {
|
"accounts": {
|
||||||
|
"BulkCreateStrategy": "创建时对于不符合要求的账号,如:密钥类型不合规,唯一键约束,可选择以上策略。",
|
||||||
"AccountTemplate": "账号模版",
|
"AccountTemplate": "账号模版",
|
||||||
"HistoryDate": "日期",
|
"HistoryDate": "日期",
|
||||||
"SameTypeAccountTip": "相同用户名、密钥类型的账号已存在",
|
"SameTypeAccountTip": "相同用户名、密钥类型的账号已存在",
|
||||||
|
Reference in New Issue
Block a user