Follow-up from "Add managing protected branches as custom permission"
The following discussions from !162208 should be addressed: - [ ] @apennells started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/162208#note_2062978724): (+2 comments) > **Suggestion:** We should also have a test for the error alert here
issue