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 |
---|---|---|
.. | ||
backend | Loading commit data... | |
badge | Loading commit data... | |
bitbucket_import | Loading commit data... | |
checks | Loading commit data... | |
ci | Loading commit data... | |
conflict | Loading commit data... | |
data_builder | Loading commit data... | |
database | Loading commit data... | |
diff | Loading commit data... | |
downtime_check | Loading commit data... | |
Loading commit data... | ||
fogbugz_import | Loading commit data... | |
gfm | Loading commit data... | |
git | Loading commit data... | |
github_import | Loading commit data... | |
gitlab_import | Loading commit data... | |
google_code_import | Loading commit data... | |
graphs | Loading commit data... | |
import_export | Loading commit data... | |
ldap | Loading commit data... | |
metrics | Loading commit data... | |
middleware | Loading commit data... | |
o_auth | Loading commit data... | |
saml | Loading commit data... | |
sanitizers | Loading commit data... | |
sherlock | Loading commit data... | |
slash_commands | Loading commit data... | |
sql | Loading commit data... | |
template | Loading commit data... | |
asciidoc_spec.rb | Loading commit data... | |
auth_spec.rb | Loading commit data... | |
award_emoji_spec.rb | Loading commit data... | |
blame_spec.rb | Loading commit data... | |
changes_list_spec.rb | Loading commit data... | |
closing_issue_extractor_spec.rb | Loading commit data... | |
color_schemes_spec.rb | Loading commit data... | |
current_settings_spec.rb | Loading commit data... | |
database_spec.rb | Loading commit data... | |
downtime_check_spec.rb | Loading commit data... | |
exclusive_lease_spec.rb | Loading commit data... | |
git_access_spec.rb | Loading commit data... | |
git_access_wiki_spec.rb | Loading commit data... | |
git_spec.rb | Loading commit data... | |
highlight_spec.rb | Loading commit data... | |
incoming_email_spec.rb | Loading commit data... | |
key_fingerprint_spec.rb | Loading commit data... | |
lazy_spec.rb | Loading commit data... | |
lfs_token_spec.rb | Loading commit data... | |
markup_helper_spec.rb | Loading commit data... | |
metrics_spec.rb | Loading commit data... | |
popen_spec.rb | Loading commit data... | |
project_search_results_spec.rb | Loading commit data... | |
redis_spec.rb | Loading commit data... | |
reference_extractor_spec.rb | Loading commit data... | |
regex_spec.rb | Loading commit data... | |
search_results_spec.rb | Loading commit data... | |
snippet_search_results_spec.rb | Loading commit data... | |
themes_spec.rb | Loading commit data... | |
upgrader_spec.rb | Loading commit data... | |
uploads_transfer_spec.rb | Loading commit data... | |
url_builder_spec.rb | Loading commit data... | |
url_sanitizer_spec.rb | Loading commit data... | |
user_access_spec.rb | Loading commit data... | |
version_info_spec.rb | Loading commit data... | |
workhorse_spec.rb | Loading commit data... |