Merge branch '21026-sanitize-html-doc'
[arvados.git] / services / api / app / models / arvados_model.rb
index c909e47cef7ff10e4e4b01cc5221713c7d78a542..81cdbfcd1c108340b4fc72c92dbd4fe8ecde2e00 100644 (file)
@@ -37,9 +37,9 @@ class ArvadosModel < ApplicationRecord
   # user.uuid==object.owner_uuid.
   has_many(:permissions,
            ->{where(link_class: 'permission')},
-           foreign_key: :head_uuid,
+           foreign_key: 'head_uuid',
            class_name: 'Link',
-           primary_key: :uuid)
+           primary_key: 'uuid')
 
   # If async is true at create or update, permission graph
   # update is deferred allowing making multiple calls without the performance