# Feature OP-12026 - Project admin chooses between manual and automatic project folder

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2023-06-15 |
| Priority | Medium |
| Target versions | 13.0.0 |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| OP-12224 | Prepare the database migration for project folder management mode | Implementation | closed |  |  |  |
| OP-12670 | Implement Rails controller methods with UI for project storages | Implementation | closed |  |  |  |
| OP-12939 | Change default project folder setting | Implementation | closed |  | 13.0.0 |  |

## 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 |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a **project admin**  
**I want to** choose between a manual managed or an automatically managed *project folder*  
**so that** I can configure the project storage to the teams needs.

## **Acceptance criteria**

- [ ] Only show the field "Project folder" in the storage settings per project if the "Automatically managed folders" admin setup has been completed successfully
- [x] After starting the setup of a *project folder* a decision is shown with three options
  - [x] **No specific folder:** there is no common project folder and the "default" folders for the users will be their home folder.
  - [x] **Existing folder with manually managed permissions:** leads to configuring the path to the desired storage folder
  - [x] **New folder with automatically managed permissions:** leads to an automatically configured *project folder*
- [x] The flow for both **No specific folder** and **Existing folder with manually managed permissions** are specified in <mention class="mention" data-id="46328" data-type="work_package" data-text="#46328">\#46328</mention>.
- [x] Each of the three cases have a support hint text defined in the visuals.
- [ ] If the administrator has selected not to use the **Automatically managed folders** option in the setup of the storage the **New folder with automatically managed permissions** option will not be available in this screen and by default the **No specific folder** option will be selected.
- [x] The project folder field has a support hint text on hover defined in the visuals.
- [x] After the **project admin** has configured *automatically managed* and selects *manual managed* and changes back to *automatically managed* the same "automatic" folder is reconfigured as before the change happened.
- [x] After the **project admin** has configured *automatically managed* and selects *no specific* and changes back to *automatically managed* the same "automatic" folder is reconfigured as before the change happened.
- [x] After the **project admin** has configured *manual* and selects *no specific* and changes back to *manual,* the same "manual" folder is reconfigured as before the change.
- [x] After the **project admin** has configured *manual* and selects *automatically managed* and changes back to *manual,* the same "manual" folder is reconfigured as before the change.

## Hints:

  - In order to select the folder the OAuth flow needs to happen if the project admin never did it before,

## Visuals

#### Add new storage:

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

## Figma

<https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3594%3A94326&amp;t=AslZQbmqBNi3drq4-4>
