Merge pull request #3898 from betagouv/fix-3896-tracking
Add Gestionnaire ID and roles in SB tracker
This commit is contained in:
commit
0f59f0fd4a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue