From 629410722ce936495cc072c855c47ba5c48af44b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 18 May 2022 08:47:22 -0500 Subject: [PATCH] [Fleet] removed requireAllSpaces from integration privilege (#131902) (#132420) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com> (cherry picked from commit eb29e7ae82e4f9b64cc499a3fed958543ec24988) Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com> --- x-pack/plugins/fleet/server/plugin.ts | 7 ------- x-pack/plugins/translations/translations/fr-FR.json | 1 - x-pack/plugins/translations/translations/ja-JP.json | 1 - x-pack/plugins/translations/translations/zh-CN.json | 1 - 4 files changed, 10 deletions(-) diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index b94c80be75c4b..8ecd4d67a1dee 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -284,18 +284,11 @@ export class FleetPlugin category: DEFAULT_APP_CATEGORIES.management, app: [INTEGRATIONS_PLUGIN_ID], catalogue: ['fleet'], - privilegesTooltip: i18n.translate( - 'xpack.fleet.serverPlugin.integrationsPrivilegesTooltip', - { - defaultMessage: 'All Spaces is required for All Integrations access.', - } - ), privileges: { all: { api: [`${INTEGRATIONS_PLUGIN_ID}-read`, `${INTEGRATIONS_PLUGIN_ID}-all`], app: [INTEGRATIONS_PLUGIN_ID], catalogue: ['fleet'], - requireAllSpaces: true, savedObject: { all: allSavedObjectTypes, read: [], diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 43b9d0e14a861..78980d0fa9987 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -13211,7 +13211,6 @@ "xpack.fleet.serverError.enrollmentKeyDuplicate": "Une clé d'enregistrement nommée {providedKeyName} existe déjà pour la stratégie d'agent {agentPolicyId}", "xpack.fleet.serverError.returnedIncorrectKey": "La commande find enrollmentKeyById a renvoyé une clé erronée", "xpack.fleet.serverError.unableToCreateEnrollmentKey": "Impossible de créer une clé d'API d'enregistrement", - "xpack.fleet.serverPlugin.integrationsPrivilegesTooltip": "Tous les espaces sont requis pour l’accès à toutes les intégrations.", "xpack.fleet.serverPlugin.privilegesTooltip": "Tous les espaces sont requis pour l’accès à Fleet.", "xpack.fleet.settings.confirmModal.cancelButtonText": "Annuler", "xpack.fleet.settings.confirmModal.confirmButtonText": "Enregistrer et déployer", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index eee1335dd3861..878453878bc62 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -13330,7 +13330,6 @@ "xpack.fleet.serverError.enrollmentKeyDuplicate": "エージェントポリシーの{agentPolicyId}登録キー{providedKeyName}はすでに存在します", "xpack.fleet.serverError.returnedIncorrectKey": "find enrollmentKeyByIdで正しくないキーが返されました", "xpack.fleet.serverError.unableToCreateEnrollmentKey": "登録APIキーを作成できません", - "xpack.fleet.serverPlugin.integrationsPrivilegesTooltip": "すべての統合アクセスには、すべてのSpacesが必要です。", "xpack.fleet.serverPlugin.privilegesTooltip": "Fleetアクセスには、すべてのSpacesが必要です。", "xpack.fleet.settings.confirmModal.cancelButtonText": "キャンセル", "xpack.fleet.settings.confirmModal.confirmButtonText": "保存してデプロイ", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 0348fa54b0ced..2ac31f29fafa4 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -13354,7 +13354,6 @@ "xpack.fleet.serverError.enrollmentKeyDuplicate": "称作 {providedKeyName} 的注册密钥对于代理策略 {agentPolicyId} 已存在", "xpack.fleet.serverError.returnedIncorrectKey": "find enrollmentKeyById 返回错误的密钥", "xpack.fleet.serverError.unableToCreateEnrollmentKey": "无法创建注册 api 密钥", - "xpack.fleet.serverPlugin.integrationsPrivilegesTooltip": "访问所有集成需要所有工作区。", "xpack.fleet.serverPlugin.privilegesTooltip": "访问 Fleet 需要所有工作区。", "xpack.fleet.settings.confirmModal.cancelButtonText": "取消", "xpack.fleet.settings.confirmModal.confirmButtonText": "保存并部署",