-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Incorrect User in Audit #601
Comments
@sauloarruda did you solve this problem? I'm getting the same problem here, im some cases the user that makes the change is not the correct one. |
Hi @tiagocassio
|
the sudo user part is a new implementation, ignore it please. |
Hi @sauloarruda! I've already proposed a PR implementing RequestStore. See #669 |
@sauloarruda @tiagocassio I have created #673 as an alternative attempt to solve the issue using
|
After updating to 5.3.3, which uses So before the update, the workflow was like this:
And this is the new workflow when using
I tried checking out the branch for #673 that uses When the store is cleared, it's remains cleared for the remaining life of the scope, which can be a In order to fix this issue, I think it's OK to remove keys like |
Hello,
We are using the audit to generate around 20 thousand records daily. In some cases we find that the user who performed the action is incorrect. Analyzing the code we saw that the Thread.current[:audited_store] method is called to get the current user. We use AWS with loadbalancer with 2 to 4 servers at peak hours.
We need help to understand why this is happening.
The text was updated successfully, but these errors were encountered: