[supa_audit] adding the current user to audit records #18354
Unanswered
koenhandekyn
asked this question in
Feature Requests
Replies: 1 comment
|
What you could do is set the user on the DB session, for instance: SET yourapp.db_session_user = 'username';And then use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
this question is restricted to supa_audit. currently i'm using PaperTrail (gem) in ruby on rails applications which offers a very similar functionality.
one of the key differences it seems is that there we're able to log also the current user, which is kind of key in many auditing contexts.
has this been on the table? some thoughts about it? how could we get other contextual data into the auditing sytem?
All reactions