Merge branch '6941-docs-fix-www-data' closes #6941
[arvados.git] / apps / workbench / app / models / arvados_base.rb
index 29379a03ced62b5fad1e782bc08a24ad0c8ba0f3..b02db7a6b63b5fad8c75ea5f107baa74a58d7151 100644 (file)
@@ -357,6 +357,10 @@ class ArvadosBase < ActiveRecord::Base
        (ArvadosBase.find(owner_uuid).writable_by.include? current_user.uuid rescue false)))) or false
   end
 
+  def deletable?
+    editable?
+  end
+
   # Array of strings that are the names of attributes that can be edited
   # with X-Editable.
   def editable_attributes