From 150fd0dfd395e7e55c4e88957be04daf7be16666 Mon Sep 17 00:00:00 2001 From: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Date: Tue, 1 Mar 2022 12:47:25 -0500 Subject: [PATCH] added datasource legacy editor flag (#18970) --- superset/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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