Skip to content

Commit

Permalink
added datasource legacy editor flag (#18970)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi committed Mar 1, 2022
1 parent 5fc7adb commit 150fd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://sjl.bitbucket.io/flask-csrf/>`_ add csrf protection
Expand Down

0 comments on commit 150fd0d

Please sign in to comment.