BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
badges | Loading commit data... | |
branches | Loading commit data... | |
commit | Loading commit data... | |
commits | Loading commit data... | |
files | Loading commit data... | |
import_export | Loading commit data... | |
issues | Loading commit data... | |
labels | Loading commit data... | |
main | Loading commit data... | |
members | Loading commit data... | |
merge_requests | Loading commit data... | |
slack_service | Loading commit data... | |
tags | Loading commit data... | |
wiki | Loading commit data... | |
branches_spec.rb | Loading commit data... | |
builds_spec.rb | Loading commit data... | |
developer_views_empty_project_instructions_spec.rb | Loading commit data... | |
edit_spec.rb | Loading commit data... | |
features_visibility_spec.rb | Loading commit data... | |
gfm_autocomplete_load_spec.rb | Loading commit data... | |
group_links_spec.rb | Loading commit data... | |
issuable_templates_spec.rb | Loading commit data... | |
pipelines_spec.rb | Loading commit data... | |
project_settings_spec.rb | Loading commit data... | |
ref_switcher_spec.rb | Loading commit data... | |
shortcuts_spec.rb | Loading commit data... | |
snippets_spec.rb | Loading commit data... |