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 Fix already initialized constant constant warning 2019-01-03 14:37:35 -06:00
create_issue_handler.rb Fix already initialized constant constant warning 2019-01-03 14:37:35 -06:00
create_merge_request_handler.rb Fix already initialized constant constant warning 2019-01-03 14:37:35 -06:00
create_note_handler.rb Use new issue email address format 2019-01-03 14:37:35 -06:00
reply_processing.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
unsubscribe_handler.rb Refactoring and review comments 2019-01-03 14:37:35 -06:00