<!-- Describe your changes in detail -->
Hotfix PR
Original PR: [https://github.com/juspay/hyperswitch/pull/7871](https://github.com/juspay/hyperswitch/pull/7871)
To implement this **search_filter** feature, you'll need to modify these architectural layers:


**1. Core Business Logic**
   - `crates/router/src/core/user.rs`

**2. Type Definitions**
   - `crates/router/src/types/domain/user.rs`
   - `crates/router/src/types/domain/user/decision_manager.rs`

**3. Utils**
   - `crates/router/src/utils/user.rs`

**4. Other**
   - `crates/router/src/consts/user.rs`

**Code Patterns Applied:**
- Define new data structures (1 changes)
- Implement new functions (5 changes)
- Extend existing types with new fields (37 changes)
- Add conditional logic for feature flags or filtering (3 changes)

**Detailed Identifier Changes:**


Commit 67a3438e:
Files to modify:


**crates/router/src/consts/user.rs**
  Modify existing code

**crates/router/src/core/user.rs**
  Modify existing code

**crates/router/src/types/domain/user.rs**
  Modify existing code

**crates/router/src/types/domain/user/decision_manager.rs**
  Modify existing code

**crates/router/src/utils/user.rs**
  Modify existing code
{"pr_number": 7902, "pr_title": "feat(users): add support for caching and resolving last used lineage context", "merged_at": "2025-04-25T10:41:15Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/user.rs"], "types": ["crates/router/src/types/domain/user.rs", "crates/router/src/types/domain/user/decision_manager.rs"], "utils": ["crates/router/src/utils/user.rs"], "other": ["crates/router/src/consts/user.rs"]}, "change_types": {"structs_added": 1, "functions_added": 5, "fields_added": 37, "imports_added": 2, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}