gitlab-org--gitlab-foss/app
Douwe Maan 9f8c38bdac Merge branch 'fix/private-references' into 'master'
Show referenced MRs & Issues only when the current viewer can access them

This addresses both issues identified in #6066.

## The private MR by user `remy2` with a note referencing to a public issue

![Screen_Shot_2016-01-12_at_16.45.02](/uploads/c245ec2c1fdea1f9ba05183c24e142d9/Screen_Shot_2016-01-12_at_16.45.02.png)

---

## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** before the fix

![Screen_Shot_2016-01-12_at_18.14.50](/uploads/8db5580e803f5bddd6cb935233c579a0/Screen_Shot_2016-01-12_at_18.14.50.png)

---

## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** with the fix

![Screen_Shot_2016-01-13_at_12.02.32](/uploads/cb199f7b78191fba486a11412412e307/Screen_Shot_2016-01-13_at_12.02.32.png)

---

## The public issue viewed by user `remy2` with the fix (no change)

![Screen_Shot_2016-01-13_at_11.54.06](/uploads/ddece590d69f597a95559beddcd36660/Screen_Shot_2016-01-13_at_11.54.06.png)


See merge request !2405
2016-01-14 10:36:39 +00:00
..
assets Simplify broadcast message JS 2016-01-13 11:34:58 -05:00
controllers Merge branch 'fix/private-references' into 'master' 2016-01-14 10:36:39 +00:00
finders Drop projects order in IssuableFinder 2016-01-07 14:53:02 +01:00
helpers Move BroadcastMessage#status to a helper since it's presentational 2016-01-13 11:49:59 -05:00
mailers Merge branch 'rs-abuse-reports-refactor' into 'master' 2016-01-05 14:11:15 +00:00
models Merge branch 'fix/private-references' into 'master' 2016-01-14 10:36:39 +00:00
services Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq 2016-01-13 10:12:30 +01:00
uploaders DRY up upload and download services 2016-01-08 17:38:53 +01:00
validators Blacklist 'new' 2016-01-08 10:19:22 +01:00
views Merge branch 'fix/private-references' into 'master' 2016-01-14 10:36:39 +00:00
workers Write to InfluxDB directly via UDP 2015-12-29 14:53:45 +01:00