Merge branch 'ee-1137-follow-up-protected-branch-users-and-groups-ee' into 'master'
EE-specific changes for gitlab-org/gitlab-ee#1137 ## Summary - gitlab-org/gitlab-ee#1137 is a `technical debt` issue to clean up the EE protected branch access levels (for users and groups) implementation. - Some of this cleanup bleeds over to code shared by CE and EE. This portion is covered in this CE merge request: gitlab-org/gitlab-ce!7821 ## References - Closes #1137 ## Tasks - [#1137/!7821/!927] Follow-up from restricting pushes / merges by group - [x] Implementation - [x] Prefer `validates` with `:uniqueness` option! - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16390918 - [x] Could this be moved into `ProtectedBranchAccess`? - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16391013 - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16391018 - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16391023 - [x] Please name controller action specs after the method and action: `describe "GET project_groups"` - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16391093 - [x] I think we need more extensive integration specs here - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_16391229 - [x] Does this need to be a proc? - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/645#note_17145530 - [x] Tests - [x] CE Passing - [x] EE Passing - [x] Meta - [x] CHANGELOG entry created - [x] EE branch has no merge conflicts with EE `master` - [x] CE branch has no merge conflicts with CE `master` - [x] Squashed related commits together - [x] Review - [x] CE Endboss - [x] EE Endboss - [x] Break javascript, make sure integration specs catch the failure - [ ] Merge - [x] CE - [ ] EE See merge request !927
Showing
Please register or sign in to comment