-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ignoreActions' => ['audit/*', 'debug/*'] #256
Comments
The way things are implemented, |
It's weird. I ran it on a test project with just the ignoreActions defined like you specified them, and it's nicely ignoring the |
It's a clear yii2 app, although good, I'm using the advanced app and I have set this in backend's config for RBAC: 'as access' => [
'class' => backend\filters\AccessControl::class,
'allowActions' => ['site/login', 'site/logout', 'site/error', 'debug', 'gii']
] |
Hello, I've reproduce the same issue and it seems to be related to the error handler If I'm disabling error handler I don't have the audit entry anymore. Here is the stack trace I can see:
|
Okay, got it. |
1.1.2 has 2 new variables: |
Shouldn't
'ignoreActions' => ['audit/*', 'debug/*']
avoid write into audit_data table these routes?Plus, related to #138 with
'ignoreActions' => ['*'],
all is recorded in audit_entry table so ignoreActions still is buggy.The text was updated successfully, but these errors were encountered: