intercom / intercom-rails

The easiest way to install Intercom in a Rails app.
https://developers.intercom.io/reference
MIT License
280 stars 106 forks source link

Second user session (SuperAdmin User) being tracked by Intercom #340

Open castlese opened 3 years ago

castlese commented 3 years ago

Version info

Brief Context

We have a non-devise SuperAdmin user which can act as any other user in our app. Implemented using two user sessions: in our controllers, if SuperAdmin is logged in, there is current_admin_user and current_user set

Expected behaviour

SuperAdmin activity is registered to intercom

Actual behaviour

I would like to exclude SuperAdmin activity from intercom somehow

Steps to reproduce

  1. Log in as a Super Admin in our app
  2. Go to a user account & click around
  3. Go to intercom and see activity is registered there

Logs

None