Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 50,167
    • Issues 50,167
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,567
    • Merge requests 1,567
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #33257
Closed
Open
Issue created Oct 02, 2019 by Jeremy Watson (ex-GitLab)@jeremy-glContributor

Prevent accidental deletions via soft delete for groups

Overview

We should follow up on #32935 (closed) by expanding soft delete to include groups.

Proposal

Require a soft deletion period for group removal.

  • Attempting to remove a group marks it for deletion. It should no longer immediately remove the group.
  • After X days have elapsed, the project or group is deleted.
    • We should use the same soft delete configuration introduced in #32935 (closed).
  • Attempting to delete something:
    • The "remove group" container for group should reflect the soft deletion period.
    • A project pending deletion should be marked for deletion on the group overview page (banner, similar to the archived project notice) and group list (with a pending delete badge).
    • Attempting to delete a group with the API should also result in the soft deletion period as described above.
  • Recovering a group pending deletion:
    • Include a "restore" button in group settings that unarchives the project and removes the soft deletion state.
    • Should be able to restore/remove the soft deletion state via API.
  • Soft deletion and restore should trigger an audit event.
Edited Oct 17, 2019 by Jeremy Watson (ex-GitLab)
Assignee
Assign to
Time tracking