BigW Consortium Gitlab
Changes include:
- Ensure Member.add_user is not called directly when not necessary
- New GroupMember.add_users_to_group to have the same abstraction level as for Project
- Refactor Member.add_user to take a source instead of an array of members
- Fix Rubocop offenses
- Always use Project#add_user instead of project.team.add_user
- Factorize users addition as members in Member.add_users_to_source
- Make access_level a keyword argument in GroupMember.add_users_to_group and ProjectMember.add_users_to_projects
- Destroy any requester before adding them as a member
- Improve the way we handle access requesters in Member.add_user
Instead of removing the requester and creating a new member,
we now simply accepts their access request. This way, they will
receive a "access request granted" email.
- Fix error that was previously silently ignored
- Stop raising when access level is invalid in Member, let Rails validation do their work
Signed-off-by: Rémy Coutable <remy@rymai.me>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
01_admin.rb | Loading commit data... | |
04_project.rb | Loading commit data... | |
05_users.rb | Loading commit data... | |
06_teams.rb | Loading commit data... | |
07_milestones.rb | Loading commit data... | |
09_issues.rb | Loading commit data... | |
10_merge_requests.rb | Loading commit data... | |
11_keys.rb | Loading commit data... | |
12_snippets.rb | Loading commit data... | |
13_comments.rb | Loading commit data... | |
14_pipelines.rb | Loading commit data... | |
15_award_emoji.rb | Loading commit data... | |
16_protected_branches.rb | Loading commit data... | |
17_cycle_analytics.rb | Loading commit data... |