mirror of
https://github.com/apache/superset.git
synced 2026-04-16 22:55:52 +00:00
fix(embedded): prevent double RLS application in virtual datasets (#37395)
This commit is contained in:
committed by
GitHub
parent
a9def2fc15
commit
09e9c6a522
@@ -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