Show referenced MR in issues only when the current viewer can access it
This address the first issue identified in #6066 (closed).
Two remarks:
- I struggled a bit with the spinach steps dissemination so I chose to put all the steps I needed to test this fix in a new file;
- I will comment my code for the other remark ;)