Security: Implement recursion depth limits and field allowlists for Advanced Search; add reference SQL exports.
This commit is contained in:
@@ -18,6 +18,12 @@ journal_obj_li = {
|
||||
'journal_id_random',
|
||||
'title', 'description',
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'journal_id_random', 'name', 'short_name', 'summary', 'outline',
|
||||
'description', 'type_code', 'tags', 'billable', 'enable', 'hide',
|
||||
'priority', 'group', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'journal_entry': {
|
||||
'tbl': 'journal_entry',
|
||||
@@ -34,5 +40,12 @@ journal_obj_li = {
|
||||
'exp_default': [
|
||||
'journal_entry_id_random',
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'journal_entry_id_random', 'journal_id_random', 'name', 'short_name',
|
||||
'summary', 'content', 'type_code', 'topic_code', 'category_code',
|
||||
'tags', 'location', 'billable', 'enable', 'hide', 'priority', 'group',
|
||||
'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user