[8.10] [Observability AI Assistant] Don't grant access to connectors (#165540) (#165547)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Observability AI Assistant] Don't grant access to connectors
(#165540)](https://github.com/elastic/kibana/pull/165540)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-09-03T10:48:52Z","message":"[Observability
AI Assistant] Don't grant access to connectors
(#165540)","sha":"b7b17c47cc33fc1084ecdf6382ee20a3f921f068","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.10.0","v8.11.0"],"number":165540,"url":"https://github.com/elastic/kibana/pull/165540","mergeCommit":{"message":"[Observability
AI Assistant] Don't grant access to connectors
(#165540)","sha":"b7b17c47cc33fc1084ecdf6382ee20a3f921f068"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165540","number":165540,"mergeCommit":{"message":"[Observability
AI Assistant] Don't grant access to connectors
(#165540)","sha":"b7b17c47cc33fc1084ecdf6382ee20a3f921f068"}}]}]
BACKPORT-->

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
This commit is contained in:
Kibana Machine 2023-09-03 09:09:41 -04:00 committed by GitHub
parent 988ac799db
commit 23e36284c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,9 +62,6 @@ export class ObservabilityAIAssistantPlugin
category: DEFAULT_APP_CATEGORIES.observability,
app: [OBSERVABILITY_AI_ASSISTANT_FEATURE_ID, 'kibana'],
catalogue: [OBSERVABILITY_AI_ASSISTANT_FEATURE_ID],
management: {
insightsAndAlerting: ['triggersActionsConnectors'],
},
minimumLicense: 'enterprise',
// see x-pack/plugins/features/common/feature_kibana_privileges.ts
privileges: {
@ -80,9 +77,6 @@ export class ObservabilityAIAssistantPlugin
],
read: [],
},
management: {
insightsAndAlerting: ['triggersActionsConnectors'],
},
ui: ['show'],
},
read: {