• Alexandru Croitor's avatar
    Use note access check though its policy · babadf1e
    Alexandru Croitor authored
    Usage of note.visible_for?(user) for read(view) permission check
    is not complete. This change replaces that check with an actual
    note policy check for actuall permission checks.
    babadf1e
notes_helpers.rb 4.15 KB