mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Backport This will backport the following commits from `main` to `8.10`: - [[Enterprise Search] Add missing RCFs for SPO native connector (#164158)](https://github.com/elastic/kibana/pull/164158) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jedrzej Blaszyk","email":"jedrazb@gmail.com"},"sourceCommit":{"committedDate":"2023-08-17T12:39:28Z","message":"[Enterprise Search] Add missing RCFs for SPO native connector (#164158)\n\n## Summary\r\n\r\nRelates to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd missing configuration fields for SPO native connector. Reference to\r\nthe source of truth connector configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","backport:prev-minor","v8.10.0","v8.11.0"],"number":164158,"url":"https://github.com/elastic/kibana/pull/164158","mergeCommit":{"message":"[Enterprise Search] Add missing RCFs for SPO native connector (#164158)\n\n## Summary\r\n\r\nRelates to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd missing configuration fields for SPO native connector. Reference to\r\nthe source of truth connector configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164158","number":164158,"mergeCommit":{"message":"[Enterprise Search] Add missing RCFs for SPO native connector (#164158)\n\n## Summary\r\n\r\nRelates to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd missing configuration fields for SPO native connector. Reference to\r\nthe source of truth connector configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Jedrzej Blaszyk <jedrazb@gmail.com>
This commit is contained in:
parent
18e8844a6f
commit
9a90755d28
1 changed files with 62 additions and 0 deletions
|
@ -1923,6 +1923,68 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
validations: [],
|
||||
value: true,
|
||||
},
|
||||
fetch_unique_list_permissions: {
|
||||
default_value: true,
|
||||
depends_on: [
|
||||
{
|
||||
field: 'use_document_level_security',
|
||||
value: true,
|
||||
},
|
||||
],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUniqueListPermissionsLabel',
|
||||
{
|
||||
defaultMessage: 'Fetch unique list permissions',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 10,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUniqueListPermissionsTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Enable this option to fetch unique list permissions. This setting can increase sync time. If this setting is disabled a list will inherit permissions from its parent site.',
|
||||
}
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: true,
|
||||
},
|
||||
fetch_unique_list_item_permissions: {
|
||||
default_value: true,
|
||||
depends_on: [
|
||||
{
|
||||
field: 'use_document_level_security',
|
||||
value: true,
|
||||
},
|
||||
],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUniqueListItemPermissionsLabel',
|
||||
{
|
||||
defaultMessage: 'Fetch unique list item permissions',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 11,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUniqueListItemPermissionsTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Enable this option to fetch unique list item permissions. This setting can increase sync time. If this setting is disabled a list item will inherit permissions from its parent site.',
|
||||
}
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: true,
|
||||
},
|
||||
},
|
||||
features: {
|
||||
[FeatureName.SYNC_RULES]: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue