20470: Handle nil selection, selecting on writable_by
[arvados.git] / services / api / app / models / group.rb
index 85855fda97271a2cbfc855fef5d0862fa2a7122e..aa3a19bf87004f950e7e5f390650ce9ac964619f 100644 (file)
@@ -54,6 +54,7 @@ class Group < ArvadosModel
     super.merge(
                 'can_write' => ['owner_uuid', 'uuid'],
                 'can_manage' => ['owner_uuid', 'uuid'],
+                'writable_by' => ['owner_uuid', 'uuid'],
                 )
   end