Key Accomplishments:

1. Badge Model Updates: Added print_count, print_first_datetime, and print_last_datetime to the
      Event_Badge_Basic_Base model.
   2. Soft Delete in V3 CRUD: Implemented a method query parameter (delete, hide, disable) for the DELETE
      endpoints in api_crud_v3.py.
   3. Security Hardening: Populated searchable_fields allowlists for all objects across the V3 CRUD
      definitions (core.py, events.py, orders.py, cms.py, lookups.py, membership.py, other.py).
   4. Shared Documentation: Created /home/scott/agents_sync/Aether/api_v3.md to coordinate these V3 API
      features with the Svelte agent and other tools.
This commit is contained in:
Scott Idem
2026-01-05 20:05:33 -05:00
parent 314a031dd1
commit b8a417a5d7
7 changed files with 237 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ lu_obj_li = {
'table_name': 'v_lu_country',
'tbl_name_update': 'lu_country',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'alpha_2_code', 'alpha_3_code', 'numeric_code', 'name'
],
},
'lu_country_subdivision': {
'tbl': 'lu_country_subdivision',
@@ -26,6 +30,10 @@ lu_obj_li = {
'table_name': 'v_lu_country_subdivision',
'tbl_name_update': 'lu_country_subdivision',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'country_alpha_2_code', 'subdivision_code', 'name'
],
},
'lu_time_zone': {
'tbl': 'lu_time_zone',
@@ -40,5 +48,9 @@ lu_obj_li = {
'table_name': 'v_lu_time_zone',
'tbl_name_update': 'lu_time_zone',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'timezone', 'offset', 'name'
],
},
}