Skip to content

Commit

Permalink
[ExcelAnalyzer] Provide a custom prominence reason when hiding
Browse files Browse the repository at this point in the history
This is intended to provide a bit more information on the request thread
and hopefully head off some questions to support.
  • Loading branch information
sagepe committed May 17, 2024
1 parent ccd888a commit d4a8015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/excel_analyzer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

foi_attachment.update_and_log_event(
prominence: 'hidden',
prominence_reason: "We've found a problem with this file, so it's been hidden while we review it. We might not be able to give more details until then.",
event: {
editor: User.internal_admin_user,
reason: 'ExcelAnalyzer: hidden data detected'
Expand Down

0 comments on commit d4a8015

Please sign in to comment.