-
- Downloads
Merge branch 'backport-view-condition-improvement-from-ee-460' into 'master'
Fix permission checks in member row (backport from gitlab-org/gitlab-ee!460) ## What does this MR do? It improves the check we use to display or not the members' access and controls in the members list. ## Are there points in the code the reviewer needs to double check? No, I replaced an helper with just a permission check so I think it's a better solution. ## Why was this MR needed? There were a spec failure in gitlab-org/gitlab-ee!460 because of the refactor done in the "request access" MR. ## What are the relevant issue numbers? None. ## Does this MR meet the acceptance criteria? - No CHANGELOG needed - [x] Tests - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !4670
No related branches found
No related tags found
Showing
- app/helpers/members_helper.rb 0 additions, 6 deletionsapp/helpers/members_helper.rb
- app/views/groups/group_members/update.js.haml 1 addition, 1 deletionapp/views/groups/group_members/update.js.haml
- app/views/projects/project_members/update.js.haml 1 addition, 1 deletionapp/views/projects/project_members/update.js.haml
- app/views/shared/members/_member.html.haml 3 additions, 2 deletionsapp/views/shared/members/_member.html.haml
- spec/helpers/members_helper_spec.rb 0 additions, 16 deletionsspec/helpers/members_helper_spec.rb
Please register or sign in to comment