diff --git a/caravel/views.py b/caravel/views.py index 26431063453bd..e97b42f30402f 100644 --- a/caravel/views.py +++ b/caravel/views.py @@ -477,6 +477,9 @@ class SliceModelView(CaravelModelView, DeleteMixin): # noqa def pre_update(self, obj): check_ownership(obj) + def pre_delete(self, obj): + check_ownership(obj) + appbuilder.add_view( SliceModelView, "Slices",