mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Enterprise Search] Add new RFCs to SPO connector (#161867)
This commit is contained in:
parent
f142cd25f4
commit
1bae7f09bd
1 changed files with 62 additions and 0 deletions
|
@ -1652,6 +1652,68 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
fetch_drive_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.fetchDriveItemPermissionsLabel',
|
||||
{
|
||||
defaultMessage: 'Fetch drive item permissions',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 8,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchDriveItemPermissionsTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Enable this option to fetch drive item specific permissions. This setting can increase sync time.',
|
||||
}
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: true,
|
||||
},
|
||||
fetch_unique_page_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.fetchUniquePagePermissionsLabel',
|
||||
{
|
||||
defaultMessage: 'Fetch unique page permissions',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 9,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUniquePagePermissionsTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Enable this option to fetch unique page permissions. This setting can increase sync time. If this setting is disabled a page 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