gitlab-org--gitlab-foss/spec/requests
Robert Speicher e64594ac44 Merge branch '21983-member-add_user-doesn-t-detect-existing-members-that-have-requested-access' into 'master'
Resolve "`Member.add_user`doesn't detect existing members that have requested access"

## What does this MR do?

This merge request handle the case when an access requester is added to a group or project (via the members page or the API).

In `Member.add_user`, if an access requester already exists, we simply accept their request (and set the `created_by`, `access_level` and `expires_at` attributes if given).

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

I've taken the opportunity to cleanup the whole `{Group,Project}Member.add_user*` methods since it was quite a mess.

## What are the relevant issue numbers?

Closes #21983

See merge request !6393
2016-10-02 11:42:57 +00:00
..
api Merge branch '21983-member-add_user-doesn-t-detect-existing-members-that-have-requested-access' into 'master' 2016-10-02 11:42:57 +00:00
ci/api Solve code review comments 2016-09-19 14:23:18 +02:00
projects Path could also have slashes! Feedback: 2016-08-24 16:02:56 +08:00
git_http_spec.rb Added git http requests tests for user with LDAP identity 2016-09-28 08:43:21 +02:00
jwt_controller_spec.rb Be nice to Docker Clients talking to JWT/auth 2016-09-27 16:59:05 +02:00
lfs_http_spec.rb Handle LFS token creation and retrieval in the same method, and in the same Redis connection. 2016-09-28 12:13:48 -05:00