fix(profile-filter): support owner object payloads and normalize owners response
This commit is contained in:
@@ -218,4 +218,9 @@ Mandatory UX verification tasks are included at the end of each user story phase
|
||||
- [x] D009 Verify updated dashboards filter behavior with targeted backend tests including no-detail-fanout assertion
|
||||
- [x] D007 Investigate regression where `/api/dashboards` triggers per-dashboard `SupersetClient.get_dashboard` fan-out
|
||||
- [x] D008 Replace O(N) hydration with O(1) profile actor alias lookup (username + display name) in dashboards filter path
|
||||
- [x] D009 Verify updated dashboards filter behavior with targeted backend tests including no-detail-fanout assertion
|
||||
- [x] D009 Verify updated dashboards filter behavior with targeted backend tests including no-detail-fanout assertion
|
||||
- [x] D010 Investigate profile filter mismatch for Superset `owners` object payloads (`first_name`/`last_name`) that excluded `user_1` dashboards
|
||||
- [x] D011 Extend actor matching normalization in `backend/src/services/profile_service.py` to include owner dict aliases (`full_name`, `first_name last_name`, `first_name_last_name`, username/email)
|
||||
- [x] D012 Normalize dashboards API response owners to `List[str]` via route projection in `backend/src/api/routes/dashboards.py` to preserve `DashboardsResponse` contract when upstream owners include dicts
|
||||
- [x] D013 Add regression test for owners-object profile filtering in `backend/src/api/routes/__tests__/test_dashboards.py`
|
||||
- [x] D014 Verify fix with targeted backend test run: `cd backend && .venv/bin/python3 -m pytest src/api/routes/__tests__/test_dashboards.py` (23 passed)
|
||||
Reference in New Issue
Block a user