Skip to content

Commit 22f39a8

Browse files
committed
remove auto-update boolean check
1 parent 9cd7a02 commit 22f39a8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/models/claim.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ def collect_data(options = {})
243243
end
244244
end
245245

246-
# user has not given permission for auto-update
247-
return OpenStruct.new(body: { "errors" => [{ "title" => "No auto-update permission" }] }) if source_id == "orcid_update" && user && !user.auto_update
248-
249246
# user has too many claims already
250247
return OpenStruct.new(body: { "errors" => [{ "title" => "Too many claims. Only 10,000 claims allowed." }] }) if user.claims.total_count > 10000
251248

0 commit comments

Comments
 (0)