Module: Users

Defined in:
app/services/users/migrate_to_ghost_user_service.rb,
app/services/users/block_service.rb,
app/services/users/build_service.rb,
app/services/users/create_service.rb,
app/services/users/signup_service.rb,
app/services/users/update_service.rb,
app/services/users/destroy_service.rb,
app/services/users/activity_service.rb,
app/services/users/keys_count_service.rb,
app/services/users/set_status_service.rb,
app/controllers/users/terms_controller.rb,
app/services/users/last_push_event_service.rb,
app/workers/users/create_statistics_worker.rb,
app/services/users/respond_to_terms_service.rb,
app/services/concerns/users/new_user_notifier.rb,
app/services/users/repair_ldap_blocked_service.rb,
app/services/concerns/users/participable_service.rb,
app/services/users/update_canonical_email_service.rb,
app/services/users/update_highest_member_role_service.rb,
app/services/users/refresh_authorized_projects_service.rb

Overview

When a user is destroyed, some of their associated records are moved to a “Ghost User”, to prevent these associated records from being destroyed.

For example, all the issues/MRs a user has created are not destroyed when the user is destroyed.

Defined Under Namespace

Modules: NewUserNotifier, ParticipableService Classes: ActivityService, BlockService, BuildService, CreateService, CreateStatisticsWorker, DestroyService, KeysCountService, LastPushEventService, MigrateToGhostUserService, RefreshAuthorizedProjectsService, RepairLdapBlockedService, RespondToTermsService, SetStatusService, SignupService, TermsController, UpdateCanonicalEmailService, UpdateHighestMemberRoleService, UpdateService