Skip to content

Commit

Permalink
comment out auth code to make staging testing easier
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Jun 4, 2024
1 parent 7297b7d commit f9f0e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/datacite_dois_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def update
authorize! :transfer, @doi
@doi.assign_attributes(sanitized_params.slice(:client_id))
else
# authorize! :update, @doi
authorize! :update, @doi
if sanitized_params[:schema_version].blank?
@doi.assign_attributes(
sanitized_params.except(:doi, :client_id).merge(
Expand Down

0 comments on commit f9f0e5c

Please sign in to comment.