Issue in group boards with incorrect link

Summary

This issue appears to be very similar to https://gitlab.com/gitlab-org/gitlab-ee/issues/3562. I have a project [testproject] under a user [testuser] account which is shared with a group [testgroup]. When i look at the issues in the group board view the link is broken such that it directs to

https://gitlab.com/testgroup/testproject/issues/1

instead of: https://gitlab.com/testuser/testproject/issues/1

Steps to reproduce

  1. create a project under a normal user account
  2. create an issues in the above project
  3. create a group
  4. share the project created in step one with the group created in step three
  5. navigate to the group issue board
  6. select the issue created in step two

Example Project

I have created a test group at the following location. however i don't have an account which allows for group issue boards. and unfortunately the list view does not exhibit the same behaviour

https://gitlab.com/groups/issues3562-test-group/-/issues

What is the current bug behavior?

(What actually happens)

What is the expected correct behavior?

issues in the group board view do not redirect to the correct location

Relevant logs and/or screenshots

  • shows the issues under the root user
  • shows the group has been given permissions
  • shows incorrect link under board

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check
System information
System:		Ubuntu 14.04
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.3.6p384
Gem Version:	2.6.13
Bundler Version:1.13.7
Rake Version:	12.3.0
Redis Version:	3.2.11
Git Version:	2.14.3
Sidekiq Version:5.0.5
Go Version:	unknown

GitLab information Version: 10.4.0-ee Revision: 00592f0 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.5 URL: https://git.dns.icann.org HTTP Clone URL: https://git.dns.icann.org/some-group/some-project.git SSH Clone URL: git@git.dns.icann.org:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: no

GitLab Shell Version: 5.11.0 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading