mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
@@ -228,7 +228,10 @@ class DatasetEditor(BaseSupersetView):
|
||||
@has_access
|
||||
@permission_name("read")
|
||||
def root(self) -> FlaskResponse:
|
||||
return super().render_app_template()
|
||||
dev = request.args.get("testing")
|
||||
if dev is not None:
|
||||
return super().render_app_template()
|
||||
return redirect("/")
|
||||
|
||||
@expose("/<pk>", methods=["GET"])
|
||||
@has_access
|
||||
|
||||
Reference in New Issue
Block a user