Skip to content

Improve performance of filtering notes in NotesController

Stan Hu requested to merge sh-improve-perf-notes-actions into master

Reduces the number of queries needed to redact notes to which the user does not have access. Also includes an N+1 query test as a guard against future issues.

This is a follow-up from

Merge request reports