gitlab-org--gitlab-foss/lib/gitlab/email/handler
Heinrich Lee Yu 35b8f103a8
Prevent comments by email when issue is locked
This changes the permission check so it uses the policy on Noteable
instead of Project. This prevents bypassing of rules defined in
Noteable for locked discussions and confidential issues.

Also rechecks permissions when reply_to_discussion_id is provided since the
discussion_id may be from a different noteable.
2019-01-31 16:52:48 +01:00
..
base_handler.rb
create_issue_handler.rb
create_merge_request_handler.rb
create_note_handler.rb
reply_processing.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
unsubscribe_handler.rb