Follow-up from "Add deploy_key associations and validations to protected tags"
The following discussion from !109911 should be addressed:
- [ ] @tle_gitlab started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/109911#note_1256835686): (+1 comment)
> **suggestion (non-blocking):** I can see there are some standard codes shared between this and [`ProtectedBranch::PushAccessLevel`](https://gitlab.com/gitlab-org/gitlab/blob/325415_add_deploy_key_relation_to_protected_tags/app/models/protected_branch/push_access_level.rb). There might be an opportunity to move them into a helper class. Happy to have it explored in a separate issue. WDYT?
issue