mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(embedded): prevent double RLS application in virtual datasets (#37395)
(cherry picked from commit 09e9c6a522)
This commit is contained in:
committed by
Michael S. Molina
parent
f63c0d4caa
commit
3521504b05
@@ -326,3 +326,6 @@ def test_get_predicates_for_table(mocker: MockerFixture) -> None:
|
||||
|
||||
table = Table("t1", "public", "examples")
|
||||
assert get_predicates_for_table(table, database, "examples") == ["c1 = 1"]
|
||||
dataset.get_sqla_row_level_filters.assert_called_once_with(
|
||||
include_global_guest_rls=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user