Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36,069
    • Issues 36,069
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,299
    • Merge Requests 1,299
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #33257

Closed
Open
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
12.8
Milestone
12.8 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#33257