fix(embedded): prevent double RLS application in virtual datasets (#37395)

This commit is contained in:
Yuriy Krasilnikov
2026-03-12 16:12:59 +03:00
committed by GitHub
parent a9def2fc15
commit 09e9c6a522
6 changed files with 610 additions and 4 deletions

View File

@@ -903,6 +903,7 @@ class ExploreMixin: # pylint: disable=too-many-public-methods
def get_sqla_row_level_filters(
self,
template_processor: Optional[BaseTemplateProcessor] = None, # pylint: disable=unused-argument
include_global_guest_rls: bool = True, # pylint: disable=unused-argument
) -> list[TextClause]:
# TODO: We should refactor this mixin and remove this method
# as it exists in the BaseDatasource and is not applicable