gitlab-org--gitlab-foss/app/views/shared
Douwe Maan 077e32740c 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
2016-06-16 09:54:53 +00:00
..
groups Add request access for groups 2016-06-14 13:07:26 +02:00
icons Update activity SVG path 2016-06-09 17:10:10 -05:00
issuable Merge branch 'issuable-sidebar-bold' into 'master' 2016-06-15 20:29:50 +00:00
members Fix permission checks in member row 2016-06-15 18:17:45 +02:00
milestones show number of processed mrs in milestone page 2016-06-13 16:52:11 -06:00
projects Remove main_language and tests 2016-05-25 17:16:42 -04:00
snippets Merge branch 'separate-banzai-references' into 'master' 2016-06-01 15:51:59 +00:00
web_hooks Backported from EE shared form for web hooks 2016-06-03 11:04:27 +01:00
_choose_group_avatar_button.html.haml
_clone_panel.html.haml Redesign project page header 2016-05-19 13:16:57 -05:00
_commit_message_container.html.haml Added back text used on merge commit message 2016-04-11 17:41:47 +01:00
_confirm_modal.html.haml Move modal css to separate file and fix danger text for confirmation modal 2016-04-29 19:02:30 +02:00
_event_filter.html.haml Add fade out to sub nav 2016-05-25 17:14:28 -05:00
_field.html.haml
_file_highlight.html.haml Properly handle bigger files 2016-04-28 21:28:39 +02:00
_group_form.html.haml
_group_tips.html.haml Add permission level to groups 2016-03-10 10:38:36 -03:00
_import_form.html.haml Increase project import timeout from 4 minutes to 15 minutes 2016-02-04 13:41:42 -06:00
_issues.html.haml Fix style 2016-06-06 11:59:49 -05:00
_label_row.html.haml Add handler icon to prioritized labels 2016-06-15 10:35:58 -05:00
_labels_row.html.haml Updated design 2016-06-08 11:45:17 +01:00
_logo.svg Prevent rasterization artefacts in the logo, and simplify markup. 2016-02-08 04:25:50 +00:00
_merge_requests.html.haml Don't try to count a relation with aliases 2016-06-10 14:29:08 +01:00
_milestone_expired.html.haml
_milestones_filter.html.haml Use top-area component for top page navigation for pages that contains list of items 2016-02-03 18:41:55 +01:00
_new_commit_form.html.haml Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
_new_project_item_select.html.haml Remove unnecessary icons from buttons 2016-06-08 17:32:49 +03:00
_no_password.html.haml
_no_ssh.html.haml Remove Profile::KeysController#new action 2016-03-03 16:13:59 -05:00
_outdated_browser.html.haml
_project_limit.html.haml Project limit is reached warning is hidden when the projects_limit is zero 2016-02-19 09:27:43 +01:00
_promo.html.haml Substituted deprecated forum link with project issues link. [ci skip] 2016-01-25 13:10:11 -06:00
_ref_switcher.html.haml
_service_settings.html.haml add slack notifications for wiki pages 2016-04-20 08:25:40 +08:00
_show_aside.html.haml
_sort_dropdown.html.haml Sort by label priority 2016-06-06 11:59:49 -05:00
_visibility_level.html.haml
_visibility_radios.html.haml