Skip to content

Commit

Permalink
[Fleet] removed requireAllSpaces from integration privilege (#131902) (
Browse files Browse the repository at this point in the history
…#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 eb29e7a)

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
  • Loading branch information
kibanamachine and juliaElastic authored May 18, 2022
1 parent 71f7f44 commit 6294107
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions x-pack/plugins/fleet/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "保存してデプロイ",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "保存并部署",
Expand Down

0 comments on commit 6294107

Please sign in to comment.