Content
View differences
Updated by Eric Schubert over 1 year ago
**As** an administrator responsible for storages
**I want to** get a warning when a Nextcloud storage has pre-existing folders that could prevent project folders to be created automatically
**so that** I can delete the blocking folders from Nextcloud
**Acceptance criteria**
* When the user clicks "Recheck connection" the OpenProject folder on Nextcloud will be analysed for unexpected folders. folders.
* If unexpected content is found, return a warning to the user: WRN\_UNEXPECTED\_CONTENT WRN\_UNEXPECTED\_CONTENT
* The validation test only applies for storages that have AMPF enabled. Storages without AMPF skip this validation test.
* ~~The The warning links to the description in the documentation (https://www.openproject.org/docs/system-admin-guide/files/external-file-storages/health-status/#connection-validation-for-nextcloud)~~ (https://www.openproject.org/docs/system-admin-guide/files/external-file-storages/health-status/#connection-validation-for-nextcloud)
* The warning is documented in the linked table of the documentation
* If the group folder cannot be found at the remote storage, return an error to the user: ERR\_GROUP\_FOLDER\_NOT\_FOUND
* If the app password is badly configured, retun an error to the user: ERR\_USERLESS\_ACCESS\_DENIED
* This can happen, if an nextcloud admin resets the already configured app password on their side
**I want to** get a warning when a Nextcloud storage has pre-existing folders that could prevent project folders to be created automatically
**so that** I can delete the blocking folders from Nextcloud
**Acceptance criteria**
* When the user clicks "Recheck connection" the OpenProject folder on Nextcloud will be analysed for unexpected folders.
* If unexpected content is found, return a warning to the user: WRN\_UNEXPECTED\_CONTENT
* The validation test only applies for storages that have AMPF enabled. Storages without AMPF skip this validation test.
* ~~The
* The warning is documented in the linked table of the documentation
* If the group folder cannot be found at the remote storage, return an error to the user: ERR\_GROUP\_FOLDER\_NOT\_FOUND
* If the app password is badly configured, retun an error to the user: ERR\_USERLESS\_ACCESS\_DENIED
* This can happen, if an nextcloud admin resets the already configured app password on their side