Skip to content

Commit

Permalink
remove native config for selecting fetch strategy (#161798)
Browse files Browse the repository at this point in the history
## Summary

Part of elastic/search-team#5162

Effectively reverting #161546, as
the new strategy has completely replaced the old.

See also: elastic/connectors#1255

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
  • Loading branch information
seanstory authored Jul 13, 2023
1 parent b1d6196 commit 8175c8a
Showing 1 changed file with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1652,32 +1652,6 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
validations: [],
value: false,
},
fetch_users_by_site: {
default_value: false,
depends_on: [{ field: 'use_document_level_security', value: true }],
display: DisplayType.TOGGLE,
label: i18n.translate(
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUsersBySiteLabel',
{
defaultMessage: 'Discover users by site membership',
}
),
options: [],
order: 8,
required: true,
sensitive: false,
tooltip: i18n.translate(
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.fetchUsersBySiteTooltip',
{
defaultMessage:
'When syncing only a small subset of sites, it can be more efficient to only fetch users who have access to those sites. This becomes increasingly inefficient the more sites (and the more users) concerned.',
}
),
type: FieldType.BOOLEAN,
ui_restrictions: [],
validations: [],
value: false,
},
},
features: {
[FeatureName.SYNC_RULES]: {
Expand Down

0 comments on commit 8175c8a

Please sign in to comment.