gitlab-org--gitlab-foss/spec
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
..
config
controllers Merge branch 'issuable-todo-improvements' 2016-06-18 00:42:36 +02:00
factories
features Merge branch 'fix-18717' into 'master' 2016-06-17 22:47:19 +00:00
finders
fixtures
helpers
initializers
javascripts
lib
mailers
models
requests fixup! updated docs for api endpoint award emoji 2016-06-17 22:03:57 +02:00
routing
services
support
tasks/gitlab
views
workers Merge branch 'repo-check-require-push-events' into 'master' 2016-06-17 19:14:43 +00:00
factories_spec.rb
rails_helper.rb
spec_helper.rb
teaspoon_env.rb