# Feature OP-8583 - Add permissions to restrict file attachments

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

## 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 |  |
| Feature Flag |  |
| Requires doc change | Yes |
| 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 OpenProject Admin  
**I want to** to be able to control where file attachments are possible and which file types can be attached  
**so that** OpenProject is not used to deposite files.

**As** a OpenProject User  
**I want to** to be able to insert images in the WYSIWYG editor when adding other attachments is not allowed  
**so that** I can still use images, if my admin allowed it.

**Acceptance criteria**

*   New permission &quot;Add attachment&quot; for WIKI
*   New permission &quot;Add attachment&quot; for WORKPACKAGE
*   New permission &quot;Add attachment&quot; for FORUMS
*   New permission &quot;Insert image attachment&quot; for WIKI
*   New permission &quot;Insert image attachment&quot; for WORKPACKAGE
*   New permission &quot;Insert image attachment&quot; for FORUMS
