Adding more searchable_fields for security. Broke up large files to make them easier to manage.

This commit is contained in:
Scott Idem
2026-01-06 11:14:37 -05:00
parent b8a417a5d7
commit 552ca31603
6 changed files with 410 additions and 271 deletions

View File

@@ -216,6 +216,11 @@ core_obj_li = {
'table_name': 'v_user_role',
'tbl_name_update': 'user_role',
'base_name': User_Role_Base,
# V3 Search Security:
'searchable_fields': [
'user_id_random', 'for_type', 'for_id_random', 'code', 'name',
'description', 'enable', 'created_on', 'updated_on'
],
},
'log_client_viewing': {
'mdl': Log_Client_Viewing_Base,
@@ -223,5 +228,11 @@ core_obj_li = {
'table_name': 'log_client_viewing',
'tbl_name_update': 'log_client_viewing',
'base_name': Log_Client_Viewing_Base,
# V3 Search Security:
'searchable_fields': [
'log_client_viewing_id_random', 'account_id_random', 'person_id_random',
'user_id_random', 'external_client_id', 'name', 'source', 'url_root',
'url_full_path', 'object_type', 'object_id', 'created_on', 'updated_on'
],
},
}