You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, it looks like intercom-rails picks up @user by default as the current user, which I suspect ActiveAdmin sets when editing a user.
Setting config.user.current = Proc.new { current_user } seems to have resolved the issue.
Given that lots of apps set @user when editing a user, I would suggest only pulling the current user from current_user (and perhaps @current_user) by default.
Version info
Expected behavior
When viewing users as an AdminUser in ActiveAdmin, Intercom messenger should not be active.
Actual behavior
When viewing a User as an AdminUser in ActiveAdmin, Intercom messenger suddenly appears as if I were the User whose record I am viewing.
Steps to reproduce
Logs
The text was updated successfully, but these errors were encountered: