diff --git a/superset/config.py b/superset/config.py index 889cdbe7ebaf..bad83615ce3e 100644 --- a/superset/config.py +++ b/superset/config.py @@ -362,7 +362,7 @@ def _try_json_readsha(filepath: str, length: int) -> Optional[str]: # With Superset 2.0, we are updating the default so that the legacy datasource # editor no longer shows. Currently this is set to false so that the editor # option does show, but we will be depreciating it. - "DISABLE_LEGACY_DATASOURCE_EDITOR": False, + "DISABLE_LEGACY_DATASOURCE_EDITOR": True, # For some security concerns, you may need to enforce CSRF protection on # all query request to explore_json endpoint. In Superset, we use # `flask-csrf `_ add csrf protection