summaryrefslogtreecommitdiff
path: root/app/views/events/_commit.html.haml
diff options
context:
space:
mode:
authorHeinrich Lee Yu <hleeyu@gmail.com>2019-01-16 02:53:24 +0800
committerYorick Peterse <yorickpeterse@gmail.com>2019-01-31 16:52:48 +0100
commit35b8f103a87811e0a825773aad3e3d04ee85fa9e (patch)
tree904b43a964b34922562589318d74316b14980629 /app/views/events/_commit.html.haml
parent1549039602dd88fa4f33b0c3f82861ab9bdd7669 (diff)
downloadgitlab-ce-35b8f103a87811e0a825773aad3e3d04ee85fa9e.tar.gz
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.
Diffstat (limited to 'app/views/events/_commit.html.haml')
0 files changed, 0 insertions, 0 deletions