# Feature OP-19746 - Allow users to delete work packages with children in another, not accessible project

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-19746

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Work packages |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user of OpenProject  
**I want to** be able to delete work packages in my project, even if there are child work packages in other projects I cannot delete  
**so that** I can continue with my changes without asking an admin

**Acceptance criteria**

*   When deleting a work package with a child in another work package
    
    *   If I have delete permission to the parent and child, I can delete both
        
    *   If I have delete permission only on the parent and have &quot;Manage subtasks&quot; permission
        
        *   I receive a dialog with information what is happening
            
        *   If I can view the child, I get information about it
            
        *   If I cannot view the child, I get information about an undisclosed work package
            
        *   I can choose to delete the parent and unlink the parent/child relationship
            
        *   A cause event is added to the child, explaining why the parent is unlinked
            
    *   If I have delete permission only on the parent, and do not have &quot;Manage subtasks&quot; permission
        
        *   The deletion fails with an error message
