etr2460 commented on a change in pull request #13051:
URL: https://github.com/apache/superset/pull/13051#discussion_r574131362



##########
File path: superset/views/datasource.py
##########
@@ -53,7 +53,11 @@ def save(self) -> FlaskResponse:
         )
         orm_datasource.database_id = database_id
 
-        if "owners" in datasource_dict and orm_datasource.owner_class is not 
None:
+        if (
+            app.config["OLD_API_CHECK_DATASET_OWNERSHIP"]

Review comment:
       nit: I think we want to keep the part of this that sets 
`datasource_dict["owners"]` and only disable the `check_ownership` function




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to