• 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
note_policy.rb 1.13 KB