-
Notifications
You must be signed in to change notification settings - Fork 20
tests: update smoke testing #1011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,8 +19,9 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t | |||||||
| - [2. Link/Unlink a work package for a file/folder from OpenProject](#2-linkunlink-a-work-package-for-a-filefolder-from-openproject) | ||||||||
| - [3. Direct upload file/folder from OpenProject to Nextcloud](#3-direct-upload-filefolder-from-openproject-to-nextcloud) | ||||||||
| - [4. Create a WorkPackage from Nextcloud](#4-create-a-workpackage-from-nextcloud) | ||||||||
| - [5. Check notification in `OpenProject` widget in Nextcloud](#5-check-notification-in-openproject-widget-in-nextcloud) | ||||||||
| - [6. Check New folder with automatically managed permissions in OpenProject](#6-check-new-folder-with-automatically-managed-permissions-in-openproject) | ||||||||
| - [5. Check notification in `OpenProject` widget in Nextcloud](#5-check-notification-in-openproject-widget-in-nextcloud) | ||||||||
| - [6. Setup and check project folder in Nextcloud (with project folder setup)](#6-setup-and-check-project-folder-in-nextcloud-with-project-folder-setup) | ||||||||
| - [7. Check New folder with automatically managed permissions in OpenProject](#7-check-new-folder-with-automatically-managed-permissions-in-openproject) | ||||||||
|
|
||||||||
| - [App Upgrade Testing](#app-upgrade-testing) | ||||||||
| - [Upgrade Steps](#upgrade-steps) | ||||||||
|
|
@@ -34,12 +35,21 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t | |||||||
| ## Section A: Two-Way OAuth 2.0 Authorization Code Flow | ||||||||
|
|
||||||||
| ### A1. Oauth configuration | ||||||||
| - [ ] In `OpenProject`, navigate to `Administration > Files`. | ||||||||
| - [ ] Create a file storage type `Nextcloud` and name it as `Nextcloud` in `OpenProject`. | ||||||||
| - [ ] In admin setting of `Nextcloud`, navigate to `Administration Settings > OpenProject`. | ||||||||
| - [ ] Copy `OpenProject` Oauth Credential (client_id and client_secret) and save them in `Nextcloud`. | ||||||||
| - [ ] Copy `Nextcloud` Oauth Credential (client_id and client_secret) and save them in `OpenProject`. | ||||||||
| - [ ] Disable project folder (automatically managed folder). | ||||||||
| - [ ] Keep two browser tabs open: one for `OpenProject` and one for `Nextcloud`. | ||||||||
| - [ ] In `OpenProject`, navigate to `Administration > Files` and add a new `Nextcloud` storage: | ||||||||
| - Add name to `Nextcloud` and host to `<openproject_host>`. | ||||||||
| - Select `Two-way OAuth 2.0 authorization code flow` as the authentication method. | ||||||||
| - Click `Save and Continue` — note the generated `OpenProject OAuth Client ID` and `Client Secret`. | ||||||||
| - [ ] In `Nextcloud`, navigate to `Administration Settings > OpenProject`: | ||||||||
| - Set `OpenProject server` to `<openproject_host>`. | ||||||||
| - Select `Two-way OAuth 2.0 authorization code flow` as the authentication method. | ||||||||
| - Enter the `OpenProject OAuth Client ID` and `Client Secret` copied from the previous step. | ||||||||
| - Click `Save` — note the generated `Nextcloud OAuth Client ID` and `Client Secret`. | ||||||||
| - [ ] Back in `OpenProject` | ||||||||
| - Enter the `Nextcloud OAuth Client ID` and `Client Secret`, then click `Save and Continue`. | ||||||||
| - Uncheck the `Automatically managed folders` and click on `Finish setup` | ||||||||
| - [ ] Back in `Nextcloud`, click `Yes, I have copied these values`. | ||||||||
| - [ ] Disable `Automatically managed project folders` and click `Complete without Project Folders`. | ||||||||
|
|
||||||||
| ### A2. Connect Nextcloud with OpenProject | ||||||||
|
|
||||||||
|
|
@@ -52,38 +62,22 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t | |||||||
|
|
||||||||
| ### A3. Add File storage (Nextcloud) to an OpenProject project | ||||||||
| - [ ] Complete step [Test No A1](#a1-oauth-configuration). | ||||||||
| - [ ] Select an `OpenProject` Project (for example, `Demo Project`) in `OpenProject`. | ||||||||
| - [ ] As a user `admin`, select any `OpenProject` Project (for example, `Demo Project`) in `OpenProject`. | ||||||||
| - [ ] Navigate to `Project settings > Files` of `Demo Project`. | ||||||||
| - [ ] Add a file storage name `Nextcloud`( choose `No specific Folder` option ) for `Demo Project`. | ||||||||
|
|
||||||||
| ### A4. Connect OpenProject with Nextcloud | ||||||||
| - [ ] Complete step [Test No A1](#a1-oauth-configuration). | ||||||||
| - [ ] Complete step [Test No A3](#A3-Add-File-storage-Nextcloud-to-an-OpenProject-project). | ||||||||
| - [ ] Navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] As a user `admin`, navigate to `Demo Project > Work Packages` and open any work package by clicking its ID. | ||||||||
| - [ ] Navigate to `Files` tab, and login to `Nextcloud`. | ||||||||
| - [ ] `OpenProject` admin is connected to `Nextcloud` as a `Nextcloud` admin. | ||||||||
| - [ ] Also, create a user in both `Nextcloud` as well as `OpenProject`. | ||||||||
| - [ ] Add the created `OpenProject` user as the member of `Demo Project` project (admin can add members to a project). | ||||||||
| - [ ] Try to connect the created `OpenProject` user as created `Nextcloud` user. | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
| - [ ] `OpenProject` user should be connected as a `Nextcloud` user. | ||||||||
|
|
||||||||
| ### A5. Setup and check project folder in Nextcloud (with project folder setup) | ||||||||
| - [ ] Complete step [Test No A1](#a1-oauth-configuration). | ||||||||
| - [ ] Enable `groupfolders` application in `Nextcloud`. | ||||||||
| - [ ] Enable `Automatically managed folders` switch in admin setting and set project folder. | ||||||||
| - [ ] Application password should be generated. | ||||||||
| - [ ] Verify that `OpenProject` user and group are created with user `OpenProject` as sub-admin of the group. | ||||||||
| - [ ] Verify that `OpenProjectNoAutomaticProjectFolders` group is also created with user `OpenProject` as sub-admin. | ||||||||
| - [ ] Try deleting `OpenProject` user and group, those should not be deleted. | ||||||||
| - [ ] Try deleting `OpenProjectNoAutomaticProjectFolders` group, it should not be possible to delete. | ||||||||
| - [ ] Test group management (as user `OpenProject`): | ||||||||
| - Login as `OpenProject` user | ||||||||
| - Add a test user `user1` to the `OpenProject` group | ||||||||
| - Remove `user1` from the `OpenProject` group | ||||||||
| - Verify that `user1` is automatically moved to the `OpenProjectNoAutomaticProjectFolders` group | ||||||||
|
|
||||||||
| ### A6. Complete the common smoke tests | ||||||||
| - [ ] Complete [smoke tests 1-6](#common-smoke-test-steps). | ||||||||
| ### A5. Complete the common smoke tests | ||||||||
| - [ ] Complete [smoke tests 1-7](#common-smoke-test-steps). | ||||||||
|
|
||||||||
| ### A7. Check the integration script for oauth set up | ||||||||
|
|
||||||||
|
|
@@ -108,33 +102,46 @@ bash integration_setup.sh | |||||||
|
|
||||||||
| ## Section B: Single-Sign-On through OpenID Connect Identity Provider | ||||||||
|
|
||||||||
| > **Note**: `OpenProject` must be an Enterprise edition to use SSO setup. | ||||||||
|
|
||||||||
| ### B.1: Nextcloud Hub as IDP | ||||||||
|
|
||||||||
| #### B.1.1. Configure Nextcloud | ||||||||
| - [ ] In Nextcloud, install and enable `oidc` and `user_oidc` apps. | ||||||||
| - [ ] In Nextcloud, install and enable `OIDC Identity Provider`(`oidc`) and `OpenID Connect user backend`(`user_oidc`) apps. | ||||||||
| - [ ] Create a new user( with username, display name, password, and email) | ||||||||
| - [ ] Run following command: | ||||||||
| - `php occ config:system:set user_oidc --type boolean --value="true" oidc_provider_bearer_validation` | ||||||||
|
Comment on lines
112
to
113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good to mention its needed for only local setup
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. may be sometime missing in other setup also
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. best would be to explain why this command is needed in the first place and what it does
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added this: - Note: This enables bearer token validation for `user_oidc`. Without it, login or connection may fail. This may also be missing during local setups. |
||||||||
| - Note: This enables bearer token validation for `user_oidc`. Without it, login or connection may fail. This may also be missing during local setups. | ||||||||
| - [ ] Go to `Administration > OpenID Connect` and enable `store login tokens` option. | ||||||||
| - [ ] Go to `Administation > Security` | ||||||||
| - [ ] Add OIDC client ("OpenID Connect clients" section): | ||||||||
| - Add a client name (not an identifier) | ||||||||
| - Add a redirect URL : `<openproject_instance_url>/auth/oidc-<idp-displayname-from-OP>/callback` | ||||||||
| - After adding, choose `Access Token Type` as `JWT Access Token (RFC9068)`. | ||||||||
| - Set `Refresh Token Expire Time` to `Never` | ||||||||
| - [ ] Go to `Administation > OpenID Connect Provider` | ||||||||
| - Click the button `+ Add client`: | ||||||||
| - Add a client name (not an identifier) such as `openproject` | ||||||||
| - Add a redirect URL (<openproject_host>/auth/oidc-<idp-displayname-from-openproject>/callback) | ||||||||
| - Choose Signing Algorithm option as `RS246`. | ||||||||
| - Choose Client Type as `Confidential` and click on `Add` button. | ||||||||
| - After clicking `add` button, click on recently created client. | ||||||||
| - Choose `Access Token Type` as `JWT Access Token (RFC9068)` and click on `save` button. | ||||||||
| - Go to `settings` section. | ||||||||
| - Set `Refresh Token Expire Time` to `Never`. | ||||||||
| - Save | ||||||||
| - Copy the Client ID and Client secret (you will need these later in OpenProject and integration_openproject) | ||||||||
| - Copy the Client ID and Client secret (you will need these later in OpenProject and integration_openproject). | ||||||||
|
|
||||||||
| #### B.1.2. Add Nextcloud IDP in OpenProject | ||||||||
| #### B.1.2. Add Nextcloud IDP in OpenProject (Without project folder setup) | ||||||||
| - [ ] In OpenProject, go to `Administration > Authentication > OpenID providers` | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need to add an Enterprise token before this step
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! I have mentioned it before starting the sso tests |
||||||||
| - [ ] Add a new custom OpenID provider: | ||||||||
| - Display name: `nextcloud` (use this name as redirect URL in Nextcloud: <idp-displayname-from-OP>) | ||||||||
| - Display name: `nextcloud` (use this name as redirect URL in Nextcloud: <idp-displayname-from-openproject>) | ||||||||
| - Discovery URL: `<nextcloud_instance_url>/index.php/.well-known/openid-configuration` | ||||||||
| - Client ID: Client ID copied earlier from Nextcloud | ||||||||
| - Client secret: Client secret copied earlier from Nextcloud | ||||||||
| - [ ] Go to `Administration > Files` | ||||||||
| - [ ] Select the file storage type called Nextcloud (created earlier in previous test) | ||||||||
| - [ ] Under `OAuth configuration`, select `Use access token obtained during user log in` | ||||||||
| - Keep all other options as default and click on `save`. | ||||||||
| - [ ] Then, go to `Administration > Files` | ||||||||
| - [ ] Create a file storage type `Nextcloud` by clicking the button `+ Storage` and choosing `Nextcloud` | ||||||||
| - [ ] Add name it as `Nextcloud`. | ||||||||
| - [ ] Add Host as `<nextcloud-host>` | ||||||||
| - [ ] Choose authentication Method option as `Single-Sign-On through OpenID Connect Identity Provider`. | ||||||||
| - [ ] Then, select the option `Use access token obtained during user log in`. | ||||||||
| - [ ] Uncheck project folder (automatically managed folder). | ||||||||
| - [ ] Click on button `Finish setup`. | ||||||||
|
|
||||||||
| #### B.1.3. Setup integration (Without project folder setup) | ||||||||
| - [ ] Complete step [Test No B.1.1](#B11-Configure-Nextcloud). | ||||||||
|
|
@@ -143,6 +150,7 @@ bash integration_setup.sh | |||||||
| - [ ] Under `Authentication Method`, select `Single-Sign-On through OpenID Connect Identity Provider`. | ||||||||
| - [ ] In `Authentication settings`, select `provider Type` as `Nextcloud Hub`. | ||||||||
| - [ ] Set Openproject `client ID` by Client ID copied earlier in **Test No B1**. | ||||||||
| - [ ] Uncheck `project folder (automatically managed folder)` | ||||||||
|
|
||||||||
| #### B.1.4. Login to OpenProject using Nextcloud user | ||||||||
| - [ ] Complete step [Test No B.1.1](#B11-Configure-Nextcloud) | ||||||||
|
|
@@ -164,7 +172,7 @@ bash integration_setup.sh | |||||||
| - [ ] Should show user is connected as an OpenProject user. | ||||||||
|
|
||||||||
| #### B.1.6. Complete the common smoke tests | ||||||||
| - [ ] Complete [smoke tests 1-6](#common-smoke-test-steps). | ||||||||
| - [ ] Complete [smoke tests 1-7](#common-smoke-test-steps). | ||||||||
|
|
||||||||
| ### B.2: External Provider | ||||||||
| > Here, keycloak is an External Provider | ||||||||
|
|
@@ -179,41 +187,39 @@ bash integration_setup.sh | |||||||
| - Identifier: `keycloak` | ||||||||
| - Client ID: nextcloud client id from keycloak | ||||||||
| - Client Secret: nextcloud client secret from keycloak | ||||||||
| - Discovery endpoint: `<keycloak_instance_url>/realms/<realm-name>/.well-known/openid-configuration` | ||||||||
| - Discovery endpoint: `<keycloak_instance_url>/realms/<realm-name>/.well-known/openid-configuration` (for example realm name can be `opnc`) | ||||||||
| - Scope: `openid email profile api_v3` | ||||||||
| - submit | ||||||||
| - [ ] Login as keycloak-created user in `Nextcloud`. | ||||||||
| - [ ] Login Should be successful | ||||||||
| - [ ] Logout | ||||||||
|
|
||||||||
| #### B.2.3. Add Keycloak IDP in OpenProject | ||||||||
| - [ ] In **OpenProject**, go to `Administration > Authentication > OpenID providers` | ||||||||
| - [ ] As an user `admin`, go to `Administration > Authentication > OpenID providers` | ||||||||
| - [ ] Add a new custom OpenID provider: | ||||||||
| - Display name: `keycloak` | ||||||||
| - Discovery URL: `<keycloak_instance_url>/realms/<realm-name>/.well-known/openid-configuration` | ||||||||
| - Client ID: Client ID of openproject from keycloak | ||||||||
| - Client secret: Client secret of openproject from keycloak | ||||||||
| - [ ] Navigate to `Project settings > Files` of a project (for example, `Demo Project`) and add `Nextcloud` as a file storage. | ||||||||
| - [ ] Login as keycloak-created user in `Openproject`. | ||||||||
| - [ ] Log out, then Login as admin in `Openproject`. | ||||||||
| - [ ] As an `OpenProject` admin, add keycloak-created user as a member in one of the project. | ||||||||
|
|
||||||||
| #### B.2.4. Setup integration (token exchange disabled) | ||||||||
| - [ ] In nextcloud, go to `Administration > OpenProject`. | ||||||||
| #### B.2.4. Setup integration (token exchange disabled) in Nexcloud | ||||||||
| - [ ] As an `admin` user, go to `Administration > OpenProject`. | ||||||||
| - [ ] Under `Authentication Method`, select `Single-Sign-On through OpenID Connect Identity Provider`. | ||||||||
| - [ ] In `Authentication settings`, select `provider Type` as `Keycloak`. | ||||||||
| - [ ] Disable `token exchange` | ||||||||
|
|
||||||||
| #### B.2.5. Verify Connection in nextcloud | ||||||||
| - [ ] Complete step [Test No B.2.1](#b21-Configure-Keycloak). | ||||||||
| - [ ] Complete step [Test No B.2.2](#b22-Configure-Nextcloud). | ||||||||
| - [ ] Complete step [Test No B.2.3](#b23-Add-Keycloak-IDP-in-OpenProject). | ||||||||
| - [ ] Complete step [Test No B.2.4](#b24-Setup-integration-token-exchange-disabled). | ||||||||
| - [ ] first, Complete steps **B.2.1** to **B.2.4**. | ||||||||
| - [ ] In nextcloud, login as keycloak-created user. | ||||||||
| - [ ] Navigate to `Settings > Openproject` | ||||||||
| - [ ] Should show user is connected as an OpenProject user. | ||||||||
|
|
||||||||
| #### B.2.6. Complete the common smoke tests | ||||||||
| - [ ] Complete [smoke tests 1-6](#common-smoke-test-steps). | ||||||||
| - [ ] Complete [smoke tests 1-7](#common-smoke-test-steps). | ||||||||
|
|
||||||||
| #### B.2.7.Setup integration (token exchange enabled) | ||||||||
| - [ ] Complete step [Test No B.2.1](#b21-Configure-Keycloak). | ||||||||
|
|
@@ -235,7 +241,7 @@ bash integration_setup.sh | |||||||
| - [ ] Should show user is connected as an OpenProject user. | ||||||||
|
|
||||||||
| #### B.2.9. Complete the common smoke tests | ||||||||
| - [ ] Complete [smoke tests 1-6](#common-smoke-test-steps). | ||||||||
| - [ ] Complete [smoke tests 1-7](#common-smoke-test-steps). | ||||||||
|
|
||||||||
| ### Check the integration script for sso setup (Nextcloud Hub) | ||||||||
|
|
||||||||
|
|
@@ -347,8 +353,8 @@ bash integration_oidc_setup.sh | |||||||
|
|
||||||||
| ## Common Smoke Test Steps | ||||||||
|
|
||||||||
| ### 1. Link/Unlink a work package for a file/folder in Nextcloud | ||||||||
| - [ ] In openproject, Select a file, navigate to sidebar `OpenProject` tab. | ||||||||
| ### 1. Link/Unlink a work package for a file/folder in Openproject | ||||||||
| - [ ] Select a file, navigate to sidebar `OpenProject` tab. | ||||||||
| - [ ] Search for any of the work packages in the `Demo Project`. | ||||||||
| - [ ] Work packages are listed. | ||||||||
| - [ ] Link to any one of the work packages appeared in the search lists. | ||||||||
|
|
@@ -358,19 +364,20 @@ bash integration_oidc_setup.sh | |||||||
| - [ ] Unlink a work package and it should be deleted from the `OpenProject` Tab with a successful message. | ||||||||
|
|
||||||||
| ### 2. Link/Unlink a work package for a file/folder from OpenProject | ||||||||
| - [ ] Navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] In Openproject, navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] Navigate to `Files` tab, click `link existing files`, select available files (for example, welcome.txt) from Nextcloud and link it to the work package. | ||||||||
| - [ ] Selected file is linked to the work package in `OpenProject` | ||||||||
| - [ ] Also Navigate to nextcloud and see in the `OpenProject` tab for file (welcome.txt), the work package should be linked. | ||||||||
|
|
||||||||
| ### 3. Direct upload file/folder from OpenProject to Nextcloud | ||||||||
| - [ ] Navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] In Openproject, navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] Navigate to `Files` tab, click `Upload files`, select available files from your local system (for example, local.txt) and upload choosing the upload location. | ||||||||
| - [ ] Uploaded file is linked to the work package in `OpenProject` | ||||||||
| - [ ] Also Navigate to `Nextcloud` and see in the `OpenProject` tab for file (local.txt), the work package should be linked. | ||||||||
|
|
||||||||
| ### 4. Create a WorkPackage from Nextcloud | ||||||||
| - [ ] Open the form to create work package from Nextcloud in the `OpenProject` tab for a file/folder. | ||||||||
| - [ ] In `Nextcloud`, select a file amd open the sidebar `OpenProject` tab. | ||||||||
| - [ ] Click `Create and link new work package`. | ||||||||
| - [ ] Select `Demo Project`, fill up the modal form and create. | ||||||||
| - [ ] Work package should be created and linked to the selected file. | ||||||||
|
|
||||||||
|
|
@@ -381,12 +388,29 @@ bash integration_oidc_setup.sh | |||||||
| - [ ] Now as an `OpenProject` admin, assign any of the `Demo Project` work packages to the created `OpenProject` user. | ||||||||
| - [ ] The `Nextcloud` user should receive a notification regarding the assignment. | ||||||||
|
|
||||||||
| ### 6. Check New folder with automatically managed permissions in OpenProject | ||||||||
| #### 6. Setup and check project folder in Nextcloud (with project folder setup) | ||||||||
| - [ ] Enable `teamfolders` application in `Nextcloud`. | ||||||||
| - [ ] Enable `Automatically managed folders` switch in admin setting and set project folder. | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in both nextcloud and openproject |
||||||||
| - [ ] Application password should be generated (copy this password as this will be needed in the next step). | ||||||||
| - [ ] Verify that `OpenProject` user and `OpenProject` group are created with user `OpenProject` as sub-admin of the group. | ||||||||
| - [ ] Verify that `OpenProjectNoAutomaticProjectFolders` group is also created with user `OpenProject` as sub-admin. | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in nextcloud
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment |
||||||||
| - [ ] Try deleting `OpenProject` user and `OpenProject` group, those should not be deleted. | ||||||||
| - [ ] Try deleting `OpenProjectNoAutomaticProjectFolders` group, it should not be possible to delete. | ||||||||
| - [ ] Test group management (as user `OpenProject`): | ||||||||
| - Login as `OpenProject` user | ||||||||
| - Add a test user `user1` to the `OpenProject` group | ||||||||
| - Remove `user1` from the `OpenProject` group | ||||||||
| - Verify that `user1` is automatically moved to the `OpenProjectNoAutomaticProjectFolders` group | ||||||||
|
|
||||||||
| ### 7. Setup and Check New folder with automatically managed permissions in OpenProject | ||||||||
| - [ ] In `OpenProject`, navigate to `Administration > Files > Nextcloud`. | ||||||||
| - [ ] On `Automatically managed folders` section, click on Edit. | ||||||||
| - [ ] Enable the `Automatically managed folders` option. | ||||||||
| - [ ] Enter the application password generated from `Nextcloud` and click on `Finish setup`. | ||||||||
| - [ ] Navigate to `Demo Project > Work Packages` and double click any one of the work packages available. | ||||||||
| - [ ] Navigate to `Files` tab, click `link existing files`. | ||||||||
| - [ ] In a modal, `Nextcloud > OpenProject > Demo project(1)` should be visible. | ||||||||
| - [ ] Also Navigate to `Nextcloud` and in Files `OpenProject > Demo project(1)` folder is created. | ||||||||
| - [ ] Try to delete `OpenProject` or `OpenProject > Demo project(1)`. They should not be deleted. | ||||||||
|
|
||||||||
| ## App Upgrade Testing | ||||||||
|
|
||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this action is done by created user, so we need to login as created user in both openproject and nextcloud first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reader will understand that logging in is required to perform this test. So, I think it is clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to clarify we have to go to the nextcloud as an openproject user -> settings -> openproject -> connect to openproject (we need to be logged in as created user in openproject too)