Skip to content

Show add badge only when user can manage Related Issues

What does this MR do?

Show add badge only when user can manage Related Issues, :admin_issue_link (previously shown when the user could edit the issue, :update_issue)

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

User could try to relate issues on their guest issues but they would always get a 403.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #3080 (closed) Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/3069

Edited by username-removed-892863

Merge request reports