mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
feat: add name, description and non null tables to RLS (#20432)
* feat: add name, description and non null tables to RLS * add validation * add and fix tests * fix sqlite migration * improve default value for name
This commit is contained in:
committed by
GitHub
parent
8b0bee5e8b
commit
60eb1094a4
@@ -186,6 +186,7 @@ def test_sql_lab_insert_rls(
|
||||
|
||||
# now with RLS
|
||||
rls = RowLevelSecurityFilter(
|
||||
name="sqllab_rls1",
|
||||
filter_type=RowLevelSecurityFilterType.REGULAR,
|
||||
tables=[SqlaTable(database_id=1, schema=None, table_name="t")],
|
||||
roles=[admin.roles[0]],
|
||||
|
||||
Reference in New Issue
Block a user