gitlab-org--gitlab-foss/lib/gitlab/email
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
..
handler Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
hook Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
message Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
attachment_uploader.rb Remove caching of CSV file 2019-01-07 11:21:30 +08:00
handler.rb Fix already initialized constant constant warning 2019-01-03 14:37:35 -06:00
html_parser.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
receiver.rb Merge branch 'frozen-string-lib-gitlab-more' into 'master' 2018-11-09 17:26:46 +00:00
reply_parser.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00