gitlab-org--gitlab-foss/spec/features/projects/members
Jacob Schatz ffa1b67d2f Merge branch '23305-leave-project-and-leave-group-should-be-buttons' into 'master'
Remove 'Leave Project' and 'Leave Group' from settings dropdowns

## What does this MR do?

Removes `Leave Project` and `Leave Group` from the settings dropdown.

Adds it to the `views/shared/members/access_request_buttons.html.haml`.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

## Screenshots (if relevant)

![Screen_Shot_2016-11-19_at_15.34.26](/uploads/5c66a025513b4780a9e881f0036381e4/Screen_Shot_2016-11-19_at_15.34.26.png)
![Screen_Shot_2016-11-19_at_15.35.29](/uploads/ed74a5dfe982cf65bb49c0c4fb307061/Screen_Shot_2016-11-19_at_15.35.29.png)

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [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 it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?


Closes #23305

See merge request !7600
2016-12-09 19:27:09 +00:00
..
anonymous_user_sees_members_spec.rb
group_links_spec.rb Group links spec update 2016-12-09 16:39:00 +00:00
group_member_cannot_leave_group_project_spec.rb Removed leave buttons from settings dropdowns 2016-11-26 14:27:08 +00:00
group_member_cannot_request_access_to_his_group_project_spec.rb New :request_access ability to replace a ugly helper 2016-07-05 14:35:26 +02:00
group_members_spec.rb Handle an edge-case whith invitees 2016-12-07 09:59:52 +01:00
group_requester_cannot_request_access_to_project_spec.rb Removed leave buttons from settings dropdowns 2016-11-26 14:27:08 +00:00
master_adds_member_with_expiration_date_spec.rb Updated some specs 2016-09-13 08:44:59 +01:00
master_manages_access_requests_spec.rb Make access request specs explicitly enable or disable access requests as required 2016-11-11 15:45:47 +00:00
member_cannot_request_access_to_his_project_spec.rb New :request_access ability to replace a ugly helper 2016-07-05 14:35:26 +02:00
member_leaves_project_spec.rb Removed leave buttons from settings dropdowns 2016-11-26 14:27:08 +00:00
owner_cannot_leave_project_spec.rb Removed leave buttons from settings dropdowns 2016-11-26 14:27:08 +00:00
owner_cannot_request_access_to_his_project_spec.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
user_requests_access_spec.rb Make access request specs explicitly enable or disable access requests as required 2016-11-11 15:45:47 +00:00