mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(security): Renaming schemas_accessible_by_user (#10030)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -76,7 +76,7 @@ class CsvToDatabaseForm(DynamicForm):
|
||||
):
|
||||
return True
|
||||
schemas = database.get_schema_access_for_csv_upload()
|
||||
if schemas and security_manager.schemas_accessible_by_user(
|
||||
if schemas and security_manager.get_schemas_accessible_by_user(
|
||||
database, schemas, False
|
||||
):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user