X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2c0b0226983d13084e77fe059efb85d5ce2c33f5..267c02294d7d5c1f161921f9dade6b692a7029a2:/services/api/lib/can_be_an_owner.rb diff --git a/services/api/lib/can_be_an_owner.rb b/services/api/lib/can_be_an_owner.rb index 1a990e14ea..6f30f5ae33 100644 --- a/services/api/lib/can_be_an_owner.rb +++ b/services/api/lib/can_be_an_owner.rb @@ -16,6 +16,9 @@ module CanBeAnOwner next if t == base.table_name next if t == 'schema_migrations' next if t == 'permission_refresh_lock' + next if t == 'ar_internal_metadata' + next if t == 'commit_ancestors' + next if t == 'commits' klass = t.classify.constantize next unless klass and 'owner_uuid'.in?(klass.columns.collect(&:name)) base.has_many(t.to_sym,