Merge branch '16007-permission-table-rb' refs #16007
[arvados.git] / services / api / app / models / specimen.rb
index ea97fa012aee74c5c258a1e9ea15cc484c522759..32d5ed57f32da20eb58d3849802eb3e83b70d381 100644 (file)
@@ -1,10 +1,14 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Specimen < ArvadosModel
-  include AssignUuid
+  include HasUuid
   include KindAndEtag
   include CommonApiTemplate
   serialize :properties, Hash
 
-  api_accessible :superuser, :extend => :common do |t|
+  api_accessible :user, extend: :common do |t|
     t.add :material
     t.add :properties
   end