Skip to content

Commit

Permalink
Custom Fields: Add warning to Smart Search option about information d…
Browse files Browse the repository at this point in the history
…isclosure (#42111)
  • Loading branch information
Hackwar authored Oct 17, 2023
1 parent 535f5ca commit 2e2d920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions administrator/components/com_fields/forms/field.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
name="searchindex"
type="list"
label="COM_FIELDS_FIELD_SEARCHINDEX_LABEL"
description="COM_FIELDS_FIELD_SEARCHINDEX_DESC"
default="0"
validate="options"
>
Expand Down
1 change: 1 addition & 0 deletions administrator/language/en-GB/com_fields.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ COM_FIELDS_FIELD_RENDEROPTIONS_HEADING="Display Options"
COM_FIELDS_FIELD_REQUIRED_LABEL="Required"
COM_FIELDS_FIELD_SAVE_SUCCESS="Field saved"
COM_FIELDS_FIELD_SEARCHINDEX_BOTH="Make searchable and add as taxonomy"
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."
COM_FIELDS_FIELD_SEARCHINDEX_DONT="Don't make searchable"
COM_FIELDS_FIELD_SEARCHINDEX_LABEL="Search Index"
COM_FIELDS_FIELD_SEARCHINDEX_SEARCHABLE="Make searchable"
Expand Down

0 comments on commit 2e2d920

Please sign in to comment.