Module: Namespaces
- Defined in:
- app/finders/namespaces/projects_finder.rb,
app/models/namespaces/descendants.rb,
app/models/namespaces/ldap_setting.rb,
lib/namespaces/traversal/trie_node.rb,
app/models/namespaces/user_namespace.rb,
app/helpers/namespaces/archive_helper.rb,
app/models/namespaces/traversal/cached.rb,
app/models/namespaces/traversal/linear.rb,
app/helpers/namespaces/deletable_helper.rb,
app/helpers/namespaces/namespace_helper.rb,
app/models/namespaces/project_namespace.rb,
app/models/namespaces/verified_namespace.rb,
app/models/namespaces/namespace_isolation.rb,
app/models/namespaces/traversal/recursive.rb,
app/mailers/namespaces/rate_limiter_mailer.rb,
app/models/namespaces/traversal/traversable.rb,
app/models/namespaces/randomized_suffix_path.rb,
app/services/namespaces/restore_base_service.rb,
app/finders/concerns/namespaces/groups_filter.rb,
app/models/namespaces/traversal/linear_scopes.rb,
app/policies/namespaces/user_namespace_policy.rb,
app/workers/namespaces/root_statistics_worker.rb,
app/services/namespaces/groups/archive_service.rb,
app/models/namespaces/traversal/recursive_scopes.rb,
app/policies/namespaces/project_namespace_policy.rb,
app/services/namespaces/groups/unarchive_service.rb,
app/events/namespaces/groups/group_archived_event.rb,
app/workers/namespaces/process_sync_events_worker.rb,
app/finders/namespaces/groups/shared_groups_finder.rb,
app/models/concerns/namespaces/adjourned_deletable.rb,
app/workers/namespaces/schedule_aggregation_worker.rb,
app/workers/namespaces/unlink_project_forks_worker.rb,
app/finders/namespaces/groups/invited_groups_finder.rb,
app/services/namespaces/statistics_refresher_service.rb,
app/workers/namespaces/update_root_statistics_worker.rb,
app/finders/namespaces/projects/invited_groups_finder.rb,
app/services/concerns/namespaces/groups/archive_events.rb,
app/services/namespaces/mark_for_deletion_base_service.rb,
app/services/namespaces/package_settings/update_service.rb,
app/services/namespaces/groups/adjourned_deletion_service.rb,
app/workers/namespaces/prune_aggregation_schedules_worker.rb,
app/mailers/previews/namespaces/rate_limiter_mailer_preview.rb,
app/workers/namespaces/enable_descendants_cache_cron_worker.rb,
app/policies/namespaces/group_project_namespace_shared_policy.rb,
app/models/namespaces/preloaders/group_root_ancestor_preloader.rb,
app/services/namespaces/update_denormalized_descendants_service.rb,
app/models/namespaces/preloaders/project_root_ancestor_preloader.rb,
app/models/namespaces/preloaders/namespace_root_ancestor_preloader.rb,
app/workers/namespaces/process_outdated_namespace_descendants_cron_worker.rb
Overview
This service manages the group deletion process:
-
Permanently deletes the group if user has sufficient permissions.
-
Restores the group if user lacks necessary permissions.
Note: This service should only be called from a Sidekiq context otherwise, ‘Gitlab::Auth::CurrentUserMode.optionally_run_in_admin_mode` will raise an error.
Defined Under Namespace
Modules: AdjournedDeletable, ArchiveHelper, DeletableHelper, Groups, GroupsFilter, NamespaceHelper, PackageSettings, Preloaders, Projects, Traversal Classes: Descendants, EnableDescendantsCacheCronWorker, GroupProjectNamespaceSharedPolicy, LdapSetting, MarkForDeletionBaseService, NamespaceIsolation, ProcessOutdatedNamespaceDescendantsCronWorker, ProcessSyncEventsWorker, ProjectNamespace, ProjectNamespacePolicy, ProjectsFinder, PruneAggregationSchedulesWorker, RandomizedSuffixPath, RateLimiterMailer, RateLimiterMailerPreview, RestoreBaseService, RootStatisticsWorker, ScheduleAggregationWorker, StatisticsRefresherService, SyncEvent, UnlinkProjectForksWorker, UpdateDenormalizedDescendantsService, UpdateRootStatisticsWorker, UserNamespace, UserNamespacePolicy, VerifiedNamespace