# Feature OP-12027 - Project admin configures new project storage together with project folder

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2022-06-14 |
| 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-12282 | Extend existing view for adding storages to projects | Implementation | closed |  |  |  |
| OP-12283 | Enable manually selected project folders | Implementation | closed |  |  |  |
| OP-12284 | Enable editing of project storages | Implementation | closed |  |  |  |
| OP-12285 | Add help text to project folder label | Implementation | closed |  |  |  |
| OP-12493 | Use Location picker modal to insert project folder name and ID into HTML form | Implementation | closed |  | 13.0.0 |  |
| OP-12640 | Check for authorization state of storages in project storage create form | 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** setup a *project folder* during the activation of a storage on a project  
**so that** the storage and *project folder* are available at the same time.

## **Acceptance criteria**

- [ ] When the **project admin** is adding a storage to a project they need to be able to configure *project folder.*
- [ ] The **project admin** needs to be able to change the *project folder,* after the storage was added to the project.
- [ ] When a **project admin** sets/changes the *project folder,* that folder is activated for all project members. The behaviour of the project must change accordingly.
- [ ] When the *project folder* setup is not completed or erroneous the **project admin** sees a detailed error message.
- [ ] An option for not configuring a *project folder* must be provided.
- [ ] ~~The **project admin** should be able to edit the project folder by accessing this page again for each storage.~~
- [ ] In the case of the **Existing folder with manually managed permissions** project folder appears a new button "Select folder" that will open the location picker modal to select a folder in the storage. By default like in the gravatar settings a text behind the button saying "No selected folder" will be displayed. Once the folder is selected the name of the folder will update the text.
  - [ ] If the user clicks on "Save" without selecting the folder an error message will be displayed in the text behind the button.
  - [ ] If the user is not logged in, an error is automatically presented in the text and the button is updated to "Nextcloud login". This message persists if the user clicks on the "Save" button.
- [ ] When the user edits an already existing storage in a project they can't modify the **Storage** field but they are able to change the **Project folder**.
- [ ] The label for project folder must have a information button attached. When interacting a help message is displayed.
- [ ] In the edit flow, there is also the possibility that the user who is now modifying the project folder for which they doesn't have the permissions can see the manual selected folder.
  - [ ] When the project admin clicks on "select folder" they will see the location picker.
    - [ ] If there is a folder selected, open the location picker with that folder selected.
    - [ ] If there is a folder selected and the project admin has no permissions to that folder, location picker shows home folder an a warning.

## Visuals

#### Add new storage

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52930/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52932/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/53302/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/56695/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/56694/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/56693/content">

#### Edit existing storage

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

## Figma

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