# Bug OP-15081 - Set correct guards for action: deactivate_work_package_attachments

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-15081

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.3.0 |
| Observed in versions | 14.1.0 |
| Sprint | 14.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | Yes |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Eric Schubert |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### What is the buggy behavior?

*   Users need &quot;Edit Project&quot; permission to change deactivate\_work\_package\_attachments
    

### What is the expected behavior?

*   User needs &quot;**Manage file storages in project**&quot;-permission to change deactivate\_work\_package\_attachments
    

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/107300/content">
