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
Further details
- Note for development: the dropdown options for the users to be added are created in
ee/app/assets/javascripts/projects/settings/access_dropdown.js. Part of the solution is to extract this out of EE and make it available for FOSS. - The EE dropdown is multiselect at the moment, while the CE's is not: there's a
js-multiselectoption you may want to look at inee/app/views/projects/protected_branches/ee/_create_protected_branch.html.hamlas opposed its CE counterpart.
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?
Links / references
Edited by 🤖 GitLab Bot 🤖