gitlab-org--gitlab-foss/spec/features/projects/members
Douwe Maan 33d8972bf9 Merge branch 'fix-18717' into 'master'
Ensure that group owner cannot request access to a project of their group

## What does this MR do?

It fixes two things:

- 91ad995d69e1a0f8991fd896f1d9febc109273fe Ensure that group owner cannot request access to a project of their group
- ec3ff061148d556757e7cd486cdc6083d77acf34 Ensure group/project owners can see their members' access_level (see the commit message for details)

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

Not really, these are pretty simple fixes.

## Why was this MR needed?

Because there was an issue created!

## What are the relevant issue numbers?

Fixes #18717.

## Does this MR meet the acceptance criteria?

- [x] CHANGELOG is not needed since the bug is only present in a 8.9 RC
- [x] Tests
  - [x] Added for this feature/bug
  - [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 !4729
2016-06-17 22:47:19 +00:00
..
anonymous_user_sees_members_spec.rb
group_member_cannot_leave_group_project_spec.rb Don't show 'Leave Project' to group members 2016-06-17 12:16:59 +02:00
group_member_cannot_request_access_to_his_group_project_spec.rb Address Douwe's feedback 2016-06-17 18:37:53 +02:00
group_requester_cannot_request_access_to_project_spec.rb Group owner cannot request access to a project of their group 2016-06-17 13:03:19 +02:00
master_manages_access_requests_spec.rb UI and copywriting improvements 2016-06-14 13:18:14 +02:00
user_requests_access_spec.rb UI and copywriting improvements 2016-06-14 13:18:14 +02:00