What's New
Helpdesk breaking other-apps

Use the passed-in user for team permission checks

RI @RitvikSardana · #3690 · merged 12 Aug 2026

Permission checks in `_agent_has_permission()` were using session user instead of the passed-in user, breaking Permission Inspector and delegated queries.