Remove historical addon assignment lookups from aiUserMetrics and rely only on namespace filtering
Summary
Remove the addon assignment filtering logic from aiUserMetrics GraphQL query and rely solely on namespace-based filtering. This simplifies the implementation and eliminates inconsistencies between current and historical assignment lookups.
Background
The aiUserMetrics query currently uses different user assignment finders depending on whether date parameters are provided:
- Without dates: uses
current_add_on_assigned_users - With dates: uses
historical_add_on_assigned_users
This causes inconsistent results as documented in #588733.
Proposal
Remove both current_add_on_assigned_users and historical_add_on_assigned_users lookups from the metrics fetching logic. Instead, display all data associated with the queried namespace.
Rationale: If a user has usage data in the namespace, they had access at some point. The addon assignment check adds unnecessary complexity without providing meaningful value.