Skip to content

Commit 2e2d920

Browse files
authored
Custom Fields: Add warning to Smart Search option about information disclosure (#42111)
1 parent 535f5ca commit 2e2d920

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

administrator/components/com_fields/forms/field.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
name="searchindex"
343343
type="list"
344344
label="COM_FIELDS_FIELD_SEARCHINDEX_LABEL"
345+
description="COM_FIELDS_FIELD_SEARCHINDEX_DESC"
345346
default="0"
346347
validate="options"
347348
>

administrator/language/en-GB/com_fields.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ COM_FIELDS_FIELD_RENDEROPTIONS_HEADING="Display Options"
5858
COM_FIELDS_FIELD_REQUIRED_LABEL="Required"
5959
COM_FIELDS_FIELD_SAVE_SUCCESS="Field saved"
6060
COM_FIELDS_FIELD_SEARCHINDEX_BOTH="Make searchable and add as taxonomy"
61+
COM_FIELDS_FIELD_SEARCHINDEX_DESC="Warning: When 'Make searchable' is selected, content from the field is indexed with the viewing permissions of the content item. This might lead to unexpected information disclosure."
6162
COM_FIELDS_FIELD_SEARCHINDEX_DONT="Don't make searchable"
6263
COM_FIELDS_FIELD_SEARCHINDEX_LABEL="Search Index"
6364
COM_FIELDS_FIELD_SEARCHINDEX_SEARCHABLE="Make searchable"

0 commit comments

Comments
 (0)