Content
View differences
### Description
While displaying app-related errors, we use app id in the error messages. For example:
`_This feature requires version 1.0.0 (or higher) of groupfolders_`
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/774727/content">
Instead of using `groupfolders`, the UI should show the app display name, just like in the apps page:
<img class="image_resized op-uc-image op-uc-image_inline" style="width:396px;" src="/api/v3/attachments/774724/content">
### Expected Behaviour
The messages in the UI should be like:
`_This feature requires version 1.0.0 (or higher) of "Team folders"_`
This should be implemented for all the apps that the integration requires:
\- user\_oidc
\- oidc
\- groupfolders
\- admin audit
...more
<br>
## QA testing Instructions
_⚠️ **Note:** OpenProject is **not required** for these steps. All actions take place **within Nextcloud only.**_
_🧹 Setup Recommendation: Start with a clean setup of_ `integration_openproject` _apps._ of integration\_openproject apps._
**1\. Test:** `admit_audit`
**Steps:**
1. Go to **Administration settings** → **Administration > OpenProject**.
2. You will see a **note-card** with a message.
3. The message should include **"Auditing / Logging"** as shown in image.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779068/content">
**2\. Test:** `user_oidc`
**Steps:**
1. Go to **Apps > Active apps**.
2. Disable the app: `OpenID `**OpenID Connect user backend`. backend**`.
3. Go to **Administration > OpenProject**.
4. Enter the **OpenProject host** and click **Save**.
5. After saving, an **Authentication method** section appears.
6. In the **SSO** options shown a message and there should contain a text **"OpenID Connect user backend"** as shown in image.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779073/content">
**3\. Test:** `oidc`
**Steps:**
1. Go to **Apps > Disabled apps** and **enable**: `OpenID `**OpenID Connect user backend`. backend**`.
2. Go to **Active apps** and **disable**:`OIDC **disable**: `**OIDC Identity Provid`. Provider**`.
3. Go to **Administration > OpenProject**.
4. In the **Authentication method** section, choose an **SSO** option and click **Save**.
5. The **Authentication Settings** section should appear with two options:
* **Nextcloud Hub**
* **External Provider**
6. In the **Nextcloud** **hub** option shown a message and it should mention: **"OIDC Identity Provider"** as shown in image
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779076/content">**
**4\. Test:** `group_folder`
**Steps:**
1. Enable `OIDC `**OIDC Identity Provider`, Provider**`, and disable the app: `Team folders`. `**Team folders**`.
2. Go to **Administration > OpenProject**.
3. A **red note-card** should appear with a message that should contain a text **"Team folders" as shown in image**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779086/content">
While displaying app-related errors, we use app id in the error messages. For example:
`_This feature requires version 1.0.0 (or higher) of groupfolders_`
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/774727/content">
Instead of using `groupfolders`, the UI should show the app display name, just like in the apps page:
<img class="image_resized op-uc-image op-uc-image_inline" style="width:396px;" src="/api/v3/attachments/774724/content">
### Expected Behaviour
The messages in the UI should be like:
`_This feature requires version 1.0.0 (or higher) of "Team folders"_`
This should be implemented for all the apps that the integration requires:
\- user\_oidc
\- oidc
\- groupfolders
\- admin audit
...more
<br>
## QA testing Instructions
_⚠️ **Note:** OpenProject is **not required** for these steps. All actions take place **within Nextcloud only.**_
_🧹 Setup Recommendation: Start with a clean setup of_ `integration_openproject` _apps._
**1\. Test:** `admit_audit`
**Steps:**
1. Go to **Administration settings** → **Administration > OpenProject**.
2. You will see a **note-card** with a message.
3. The message should include **"Auditing / Logging"** as shown in image.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779068/content">
**2\. Test:** `user_oidc`
**Steps:**
1. Go to **Apps > Active apps**.
2. Disable the app: `OpenID
3. Go to **Administration > OpenProject**.
4. Enter the **OpenProject host** and click **Save**.
5. After saving, an **Authentication method** section appears.
6. In the **SSO** options shown a message and there should contain a text **"OpenID Connect user backend"** as shown in image.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779073/content">
**3\. Test:** `oidc`
**Steps:**
1. Go to **Apps > Disabled apps** and **enable**: `OpenID
2. Go to **Active apps** and **disable**:`OIDC
3. Go to **Administration > OpenProject**.
4. In the **Authentication method** section, choose an **SSO** option and click **Save**.
5. The **Authentication Settings** section should appear with two options:
* **Nextcloud Hub**
* **External Provider**
6. In the **Nextcloud** **hub** option shown a message and it should mention: **"OIDC Identity Provider"** as shown in image
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779076/content">**
**4\. Test:** `group_folder`
**Steps:**
1. Enable `OIDC
2. Go to **Administration > OpenProject**.
3. A **red note-card** should appear with a message that should contain a text **"Team folders" as shown in image**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/779086/content">