5145: while combining colletions, append an integer for any duplicate files.
[arvados.git] / apps / workbench / app / models / arvados_base.rb
index bc5a9a37ddc351754feaef68c8d01916f6ca052c..f19d47435ae979564c94cf9117109ff44fe5acdf 100644 (file)
@@ -311,7 +311,7 @@ class ArvadosBase < ActiveRecord::Base
   end
 
   def self.creatable?
-    current_user
+    current_user.andand.is_active
   end
 
   def self.goes_in_projects?