-
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
fix: cache key with guest token rls #19110
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19110 +/- ##
==========================================
- Coverage 66.51% 66.48% -0.04%
==========================================
Files 1645 1644 -1
Lines 63515 63503 -12
Branches 6464 6459 -5
==========================================
- Hits 42250 42222 -28
- Misses 19593 19611 +18
+ Partials 1672 1670 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@lilykuang Ephemeral environment spinning up at http://34.219.27.109:8080. Credentials are |
def get_guest_rls_filters_str(self, table: "BaseDatasource") -> List[str]: | ||
return [f.get("clause", "") for f in self.get_guest_rls_filters(table)] | ||
|
||
def get_rls_cache_key(self, datasource: "BaseDatasource") -> List[str]: |
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.
I don't think we need the get_rls_ids
function anymore if we're using this instead.
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.
it's used for getting the ids on line 1234
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.
…ix/guest-rls-cache-key
Ephemeral environment shutdown and build artifacts deleted. |
* add guest rls clause to cache key * lint * pylint * add app back (cherry picked from commit 2726816)
SUMMARY
issue:
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION