Description about protected branches for non-member
Summary
A non-member or guest can see a description about protected branches, which should not be shown.
Steps to reproduce
- Visit https://gitlab.com/gitlab-org/gitlab-ce/branches with a non-member or guest account.
What is the current bug behavior?
A non-member or guest sees a description about protected branches, which was introduced in !1255 (merged).
What is the expected correct behavior?
A non-member or guest should not see any a description about protected branches
Output of checks
This bug happens on GitLab.com. (GL 8.0 through 9.4.0-rc)