-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
chore(security): Renaming schemas_accessible_by_user #10030
chore(security): Renaming schemas_accessible_by_user #10030
Conversation
ae431e6
to
d824716
Compare
Codecov Report
@@ Coverage Diff @@
## master #10030 +/- ##
=======================================
Coverage 70.47% 70.47%
=======================================
Files 583 583
Lines 31019 31019
Branches 3175 3175
=======================================
Hits 21861 21861
Misses 9049 9049
Partials 109 109
Continue to review full report at Codecov.
|
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.
Since the security manager is a somewhat public API (we recommend people override this as necessary) should we add a line to UPDATING.md noting the function name change?
d824716
to
a44063b
Compare
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.
Should we leave schemas_accessible_by_user
as an alias for a version or two with a deprecation warning?
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.
Ok that makes sense. Adding a comment about this being necessary partly due to name conflicts might add context for admins (completely optional).
Co-authored-by: John Bodley <[email protected]> (cherry picked from commit 54c6ddb)
Co-authored-by: John Bodley <[email protected]>
SUMMARY
This PR renames the
schemas_accessible_by_user
function toget_schemas_accessible_by_user
which is consistent with theget_datasources_accessible_by_user
method.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
CI.
ADDITIONAL INFORMATION