Hide Resolve/Unresolve Thread for Non Members

Problem to solve

This is related to issue https://gitlab.com/gitlab-org/gitlab-ce/issues/62122

Non members of a project can not resolve or unresolve a thread. Since this is the case, perhaps a better experience might be to hide the button. Also, currently where this button is clicked by the non-member, a 404 happens.

Guest can not resolve thread for Unresolved Thread

image

Get a 404 when trying to click the "Resolve thread" button

image

Suggestion

Perhaps a better experience would be to hide the "Resolve thread" button on the frontend. Since it doesn’t do anything. We shouldn’t give the user the option and hide it from them instead.

Assignee Loading
Time tracking Loading