Merge pull request #3898 from betagouv/fix-3896-tracking

Add Gestionnaire ID and roles in SB tracker
This commit is contained in:
Paul Chavard 2019-05-28 09:14:02 +02:00 committed by GitHub
commit 0f59f0fd4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,9 @@ class ApplicationController < ActionController::Base
DS_SIGN_IN_COUNT: current_administrateur&.sign_in_count, DS_SIGN_IN_COUNT: current_administrateur&.sign_in_count,
DS_CREATED_AT: current_administrateur&.created_at, DS_CREATED_AT: current_administrateur&.created_at,
DS_ACTIVE: current_administrateur&.active, DS_ACTIVE: current_administrateur&.active,
DS_ID: current_administrateur&.id DS_ID: current_administrateur&.id,
DS_GESTIONNAIRE_ID: current_gestionnaire&.id,
DS_ROLES: logged_user_roles
} }
} }
} }