From ea64b01da6167b610dc0abd20635e0946137da83 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 22 Jul 2024 17:04:32 +0800 Subject: [PATCH] perf: You can modify sudo permissions multiple times --- .../automations/change_secret/host/aix/manifest.yml | 7 ++++++- .../automations/change_secret/host/posix/manifest.yml | 7 ++++++- .../automations/push_account/host/aix/manifest.yml | 7 ++++++- .../automations/push_account/host/posix/manifest.yml | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/apps/accounts/automations/change_secret/host/aix/manifest.yml b/apps/accounts/automations/change_secret/host/aix/manifest.yml index 01239ad4d..145a4bf26 100644 --- a/apps/accounts/automations/change_secret/host/aix/manifest.yml +++ b/apps/accounts/automations/change_secret/host/aix/manifest.yml @@ -7,7 +7,7 @@ method: change_secret params: - name: modify_sudo type: bool - label: 'Modify Sudo' + label: "{{ 'Modify sudo label' | trans }}" default: False help_text: "{{ 'Modify params sudo help text' | trans }}" @@ -60,6 +60,11 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Modify sudo label: + zh: '修改 sudo 权限' + ja: 'sudo 権限を変更' + en: 'Modify sudo' + Params home label: zh: '家目录' ja: 'ホームディレクトリ' diff --git a/apps/accounts/automations/change_secret/host/posix/manifest.yml b/apps/accounts/automations/change_secret/host/posix/manifest.yml index 02afeaef3..9ab86cdb9 100644 --- a/apps/accounts/automations/change_secret/host/posix/manifest.yml +++ b/apps/accounts/automations/change_secret/host/posix/manifest.yml @@ -8,7 +8,7 @@ method: change_secret params: - name: modify_sudo type: bool - label: 'Modify Sudo' + label: "{{ 'Modify sudo label' | trans }}" default: False help_text: "{{ 'Modify params sudo help text' | trans }}" @@ -62,6 +62,11 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Modify sudo label: + zh: '修改 sudo 权限' + ja: 'sudo 権限を変更' + en: 'Modify sudo' + Params home label: zh: '家目录' ja: 'ホームディレクトリ' diff --git a/apps/accounts/automations/push_account/host/aix/manifest.yml b/apps/accounts/automations/push_account/host/aix/manifest.yml index 277a4aa14..f00a7435d 100644 --- a/apps/accounts/automations/push_account/host/aix/manifest.yml +++ b/apps/accounts/automations/push_account/host/aix/manifest.yml @@ -7,7 +7,7 @@ method: push_account params: - name: modify_sudo type: bool - label: 'Modify Sudo' + label: "{{ 'Modify sudo label' | trans }}" default: False help_text: "{{ 'Modify params sudo help text' | trans }}" @@ -60,6 +60,11 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Modify sudo label: + zh: '修改 sudo 权限' + ja: 'sudo 権限を変更' + en: 'Modify sudo' + Params home label: zh: '家目录' ja: 'ホームディレクトリ' diff --git a/apps/accounts/automations/push_account/host/posix/manifest.yml b/apps/accounts/automations/push_account/host/posix/manifest.yml index f39800e55..86342b48a 100644 --- a/apps/accounts/automations/push_account/host/posix/manifest.yml +++ b/apps/accounts/automations/push_account/host/posix/manifest.yml @@ -8,7 +8,7 @@ method: push_account params: - name: modify_sudo type: bool - label: 'Modify Sudo' + label: "{{ 'Modify sudo label' | trans }}" default: False help_text: "{{ 'Modify params sudo help text' | trans }}" @@ -62,6 +62,11 @@ i18n: ja: 'グループを入力してください。複数のグループはコンマで区切ってください(既存のグループを入力してください)' en: 'Please enter the group. Multiple groups are separated by commas (please enter the existing group)' + Modify sudo label: + zh: '修改 sudo 权限' + ja: 'sudo 権限を変更' + en: 'Modify sudo' + Params home label: zh: '家目录' ja: 'ホームディレクトリ'