diff --git a/superset/config.py b/superset/config.py index 889cdbe7e..bad83615c 100644 --- a/superset/config.py +++ b/superset/config.py @@ -362,7 +362,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = { # 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