Eliminate the difference between CE/EE for protected branches and protected environments and allow to restrict by users, in addition to by roles

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

Coming from #30769 (comment 330213516) there is no need anymore to differentiate in functionality here for CE and EE. We would be doing our users a favor to give them a more consistent experience and expand the CE capabilities.

Intended users

User experience goal

Proposal

Eliminate the difference between CE/EE for protected branches and protected environments and allow to restrict by users, in addition to by roles

https://docs.gitlab.com/ee/user/project/protected_branches.html#restricting-push-and-merge-access-to-certain-users-starter

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Edited by 🤖 GitLab Bot 🤖