-
Notifications
You must be signed in to change notification settings - Fork 133
fix(rdb): surface effective_permission and permission_status for privileges drifts #3429
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3429 +/- ##
=========================================
- Coverage 1.76% 1.75% -0.01%
=========================================
Files 400 400
Lines 43836 43878 +42
=========================================
- Hits 774 772 -2
- Misses 42975 43018 +43
- Partials 87 88 +1 ☔ View full report in Codecov by Sentry. |
70b63d8 to
3c503f1
Compare
…s; warn on drift; docs updated
3c503f1 to
d53937d
Compare
|
|
||
| var diags diag.Diagnostics | ||
|
|
||
| if effectivePermission != configuredPermission { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to add a test for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing drift requires SQL executed outside Terraform, which is tricky to automate in acceptance tests :(
close #2762