fix: can't save dataset modal (#19452)
This commit is contained in:
parent
129063d544
commit
6b136c2bc9
|
|
@ -81,7 +81,7 @@ class Datasource(BaseSupersetView):
|
|||
|
||||
if "owners" in datasource_dict and orm_datasource.owner_class is not None:
|
||||
# Check ownership
|
||||
if app.config["OLD_API_CHECK_DATASET_OWNERSHIP"]:
|
||||
if app.config.get("OLD_API_CHECK_DATASET_OWNERSHIP"):
|
||||
# mimic the behavior of the new dataset command that
|
||||
# checks ownership and ensures that non-admins aren't locked out
|
||||
# of the object
|
||||
|
|
|
|||
Loading…
Reference in New Issue