Content
View differences
Updated by Dominic Bräunlein over 2 years ago
**As** an admin of a project with automatically managed folders
**I want** a project folder to be automatically created in SharePoint/OneDrive when a storage is added to the project
**so that** users can upload files into the designated project folder.
**Acceptance criteria**
* When a SharePoint/OneDrive storage is added to a project in OpenProject, a corresponding **project folder is automatically created** if automatically managed folders was selected.
* When a SharePoint/OneDrive **storage is removed** from a project in OpenProject, the corresponding **project folder is automatically deleted** in SharePoint/OneDrive.
* When a **project** with one or more SharePoint/OneDrive storages is **deleted** in OpenProject, all corresponding **project folders are deleted** in SharePoint/OneDrive.
* When a project is **archived**, the permissions on SharePoint/OneDrive are reset so that **only admins have access** to the project folder.
**Out of scope**
* When a project is **renamed** in OpenProject, the corresponding **project folder is automatically renamed** in SharePoint/OneDrive.
* The project folder in SharePoint/OneDrive should have UI to add the storage to the project id is not included e.g. "Demo Project (123)"
**Note to QA:** This WP does not include the permissions of users. Permissions are set with WP <mention class="mention" data-id="51711" data-type="work_package" data-text="#51711">#51711</mention>. As a consequence the folders created are only visible to admins in SharePoint/OneDrive
**Note to developers: The implementation should be behind a feature flag.** that work package
**I want** a project folder to be automatically created in SharePoint/OneDrive when a storage is added to the project
**so that** users can upload files into the designated project folder.
**Acceptance criteria**
* When a SharePoint/OneDrive storage is added to a project in OpenProject, a corresponding **project folder is automatically created** if automatically managed folders was selected.
* When a SharePoint/OneDrive **storage is removed** from a project in OpenProject, the corresponding **project folder is automatically deleted** in SharePoint/OneDrive.
* When a **project** with one or more SharePoint/OneDrive storages is **deleted** in OpenProject, all corresponding **project folders are deleted** in SharePoint/OneDrive.
* When a project is **archived**, the permissions on SharePoint/OneDrive are reset so that **only admins have access** to the project folder.
**Out of scope**
* The project folder in SharePoint/OneDrive should have
**Note to QA:** This WP does not include the permissions of users. Permissions are set with WP <mention class="mention" data-id="51711" data-type="work_package" data-text="#51711">#51711</mention>. As a consequence the folders created are only visible to admins in SharePoint/OneDrive
**Note to developers: The implementation should be behind a feature flag.**