summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-14 14:10:00 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-14 14:10:00 +0000
commit434180c7d2bc882d7922c73c57d209786d341948 (patch)
tree35a2b2f23911f371f5f1bb9194ea8e131410a616 /spec/models
parent5619c7b9687edbeb07f4f383bd0bd1a1d94a1b50 (diff)
parente7eee3b720539f30bbd10c3231245f9d5bd7e30f (diff)
downloadgitlab-ce-434180c7d2bc882d7922c73c57d209786d341948.tar.gz
Merge branch 'fix-group-mention' into 'master'
Fix mentioning of private groups. `issue.participants` would mistakenly not send the `current_user` to `mentioned_users`, which means it would search for referenced groups and users as if the user was signed out. Since signed out users don't have access to private groups (groups without public projects) and since you can't reference a group you don't have access to (since this would leak its existence), the group reference wasn't found and the group members weren't notified. Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2326. See merge request !654
Diffstat (limited to 'spec/models')
0 files changed, 0 insertions, 0 deletions