Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Nextcloud Project Folders - Documentation

Marc Alcobé Tallócafd80682de1
diff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.md
index 6d5206ae455..6762988a82e 100644
--- a/docs/system-admin-guide/integrations/nextcloud/README.md
+++ b/docs/system-admin-guide/integrations/nextcloud/README.md
@@ -145,23 +145,7 @@ Additional settings on this page also allow you, as an administrator, to define
Now that the integration is set up, the next step is to make the Nextcloud file storage you just created available to individual projects.
-To do so, navigate to any existing project in your OpenProject instance and click on **Project settings** **→ Modules**. There, active the **File Storages** module by clicking on the checkbox next to it and then clicking on **Save**.
-
-![List of modules activated for a project](project-modules.png)
-
-Click on this new **Files storages** menu entry. It will take you to a page titled **File storages available in this project**, which is normally empty.
-
-Click on **+ Storage**.
-
-![List of file storages available to a project, empty](file-storages-available-in-project.png)
-
-In the page that follows, make sure your newly-created Nextcloud file storage is selected under **Storage**. If you only have one Nextcloud file storage set up (which is the most likely scenario), it should already be selected by default.
-
-![Add your new file storage to a project](add-file-storage-to-project.png)
-
-Click on **Add** to add your new Nextcloud file storage to this project.
-
-The Nextcloud file storage is now available to all work packages in this project.
+To do so, navigate to any existing project in your OpenProject instance and click on **Project settings** **→ Modules **and follow the instructions in the [Project settings user guide](../../../user-guide/projects/project-settings/file-storages).
> **Note:** For information on how to use the file storage (link Nextcloud user accounts at a user level, link files to a work package, view and download linked files, unlink files), please read our [Nextcloud integration user guide](../../../user-guide/nextcloud-integration/).
@@ -255,9 +239,9 @@ The integration OpenProject with Nextcloud makes use of authorized HTTP requests
```bash
curl --location --request GET 'https://nextcloud.example.com/index.php/apps/integration_openproject/check-config' --header 'Authorization: foo'
```
-
+
If Nextcloud setup correctly the response should look like the following
-
+
```
{"user_id":"","authorization_header":foo}
```
diff --git a/docs/user-guide/nextcloud-integration/README.md b/docs/user-guide/nextcloud-integration/README.md
index fbb6b810ed5..0ce94adbabe 100644
--- a/docs/user-guide/nextcloud-integration/README.md
+++ b/docs/user-guide/nextcloud-integration/README.md
@@ -73,6 +73,8 @@ To link a Nextcloud file to the current work package, you can either:
![Link existing file in Nextcloud](link_existing_files.png)
+> **Info**: The default project that opens in the location picker is defined by the project administrators in the [File storages settings](../projects/project-settings/file-storages).
+
![Select a file to be linked in Nextcloud](nc_select_file_to_link.png)
#### Upload and link new files
@@ -87,7 +89,9 @@ You will then be prompted to select a file (or multiple files) on your computer
Alternatively, you can also simply drag a file or folder on your computer to this area (under the name of your Nextcloud file storage) and drop it in the drop zone that appears.
-Once you have selected or dropped the files you would like to upload, you will need to select a folder on Nextcloud to which they should be stored.
+Once you have selected or dropped the files you would like to upload, you will need to select a folder on Nextcloud to which they should be stored.
+
+> **Info**: The default project that opens in the location picker is defined by the project administrators in the [File storages settings](../projects/project-settings/file-storages).
![Select the destination folder on Nextcloud](NC_12.5-selectLocationToUploadTo.png)
diff --git a/docs/user-guide/projects/project-settings/README.md b/docs/user-guide/projects/project-settings/README.md
index 3266f63dbda..92cd01e827b 100644
--- a/docs/user-guide/projects/project-settings/README.md
+++ b/docs/user-guide/projects/project-settings/README.md
@@ -29,4 +29,5 @@ Open a project via the Select a project drop-down menu and navigate to -> *Proje
| [Repository](repository) | Activate and manage a SVN or GIT repository for a project. |
| [Activities (time tracking)](activities-time-tracking) | Activate or deactivate Activities (for time tracking) in a project. |
| [Backlogs settings](backlogs-settings) | Manage backlogs settings for a project. |
+| [File storages](file-storages) | Mange the storages connected to the project and add a project folder. |
diff --git a/docs/user-guide/projects/project-settings/file-storages/README.md b/docs/user-guide/projects/project-settings/file-storages/README.md
new file mode 100644
index 00000000000..0a471cd1a43
--- /dev/null
+++ b/docs/user-guide/projects/project-settings/file-storages/README.md
@@ -0,0 +1,65 @@
+---
+sidebar_navigation:
+ title: File storages
+ priority: 150
+description: Mange the storages connected to the project and add a project folder.
+keywords: file storages, project folder, storages
+---
+# File storages
+
+To **set up or manage a storage ** in a project navigate to **Project settings → File storages**.
+
+| Topic | Description |
+| ------------------------------------------------- | :---------------------------------- |
+| [Add storage](#add-new-storage) | Add your new storage to a project |
+| [Edit and delete a storage](#edit-delete-storage) | Edit and delete an existing storage |
+
+
+
+## Add your new Nextcloud file storage to a project
+
+With the steps to [setup a storage integration](../../../system-admin-guide/integrations/nextcloud/) completed, navigate to any existing project in your OpenProject instance and click on **Project settings** **→ Modules**. There, active the **File Storages** module by clicking on the checkbox next to it and then clicking on **Save**.
+
+![List of modules activated for a project](project-modules.png)
+
+Click on this new **Files storages** menu entry. It will take you to a page titled **File storages available in this project**, which is normally empty.
+
+Click on **+ Storage** or the **+** icon below the table.
+
+![List of file storages available to a project, empty](file-storages-available-in-project.png)
+
+In the page that follows, you will be able to select one of the file storages set up by your administrator. If you only have one Nextcloud file storage set up (which is the most likely scenario), it should already be selected by default. Once the storage is selected click on the **Continue** button to proceed.
+
+![Select the desired storage](storage-add-new.png)
+
+In the last step of the process, you will be able to choose which kind of project folder will be the default folder for file uploads for this project:
+
+1. **No specific folder**: By default, each user will start at their own home folder when they upload a file.
+2. **New folder with automatically managed permissions**: This will automatically create a root folder for this project and manage the access permissions for each project member. This option will only be available if the administrator has set up the storage with automatic managed folders.
+3. **Existing folder with manually managed permissions**: Once selected this option, you can designate an existing folder as the root folder for this project using the button **Select folder**. The permissions are however not automatically managed, the administrator needs to manually ensure relevant users have access. The selected folder can be used by multiple projects.
+
+![Select the project folder type](storage-add-project-folder.png)
+
+Click on **Add** to add your new Nextcloud file storage to this project.
+
+![List of project storages](storage-list.png)
+
+The Nextcloud file storage is now available to all work packages in this project.
+
+> **Note:** For information on how to use the file storage (link Nextcloud user accounts at a user level, link files to a work package, view and download linked files, unlink files), please read our [Nextcloud integration user guide](../../../user-guide/nextcloud-integration/).
+
+## Edit and delete an existing storage
+
+To edit or delete an existing storage in a project you can click on the icons on the right side of the list.
+
+![List of project storages, edit or delete](storage-list-edit-delete.png)
+
+For the moment, you will only be able to edit which project folder type is used for that specific storage in this project. Don't forget to click the **Save** button to edit your storage.
+
+![Edit the project folder type](storage-edit.png)
+
+> **Note:** If the previous selected project folder type was **New folder with automatically managed permissions**, changing the project folder type will not delete the already created root folder and its permissions.
+
+To be able to delete a storage from a project you will be asked to confirm the action by introducing the name of the storage. This action is irreversible and will remove all links from work packages of this project to files and folders of that storage. Also, in case this storage has an automatically managed project folder, this and its files will be deleted forever.
+
+![Delete a storage from a project](storage-delete.png)
diff --git a/docs/system-admin-guide/integrations/nextcloud/file-storages-available-in-project.png b/docs/user-guide/projects/project-settings/file-storages/file-storages-available-in-project.png
similarity index 100%
rename from docs/system-admin-guide/integrations/nextcloud/file-storages-available-in-project.png
rename to docs/user-guide/projects/project-settings/file-storages/file-storages-available-in-project.png
diff --git a/docs/system-admin-guide/integrations/nextcloud/project-modules.png b/docs/user-guide/projects/project-settings/file-storages/project-modules.png
similarity index 100%
rename from docs/system-admin-guide/integrations/nextcloud/project-modules.png
rename to docs/user-guide/projects/project-settings/file-storages/project-modules.png
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-add-new.png b/docs/user-guide/projects/project-settings/file-storages/storage-add-new.png
new file mode 100644
index 00000000000..e084d25e713
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-add-new.png differ
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-add-project-folder.png b/docs/user-guide/projects/project-settings/file-storages/storage-add-project-folder.png
new file mode 100644
index 00000000000..e7e229fbdd9
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-add-project-folder.png differ
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-delete.png b/docs/user-guide/projects/project-settings/file-storages/storage-delete.png
new file mode 100644
index 00000000000..f4fca9082ac
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-delete.png differ
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-edit.png b/docs/user-guide/projects/project-settings/file-storages/storage-edit.png
new file mode 100644
index 00000000000..f01387ec405
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-edit.png differ
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-list-edit-delete.png b/docs/user-guide/projects/project-settings/file-storages/storage-list-edit-delete.png
new file mode 100644
index 00000000000..31ab67509ff
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-list-edit-delete.png differ
diff --git a/docs/user-guide/projects/project-settings/file-storages/storage-list.png b/docs/user-guide/projects/project-settings/file-storages/storage-list.png
new file mode 100644
index 00000000000..a908417e61a
Binary files /dev/null and b/docs/user-guide/projects/project-settings/file-storages/storage-list.png differ