wso2 / financial-services-accelerator

WSO2 Open Banking Accelerator is a collection of technologies that increases the speed and reduces the complexity of adopting open banking compliance. Instead of building a solution from scratch, you can use WSO2 Open Banking Accelerator to meet all legislative requirements with additional benefits beyond compliance.
Apache License 2.0
7 stars 22 forks source link

[CDS-Toolkit][ConsentMgr] - admin user unable to see the consent amendment history of a business consent #184

Open malshaniS opened 2 days ago

malshaniS commented 2 days ago

Description: "Failed to fetch consent history data, Try again later" error in consent amendment history tab for admin user. In here the consent is created and amended by "nominatedUser1@wso2.com".

Screenshot 2024-11-06 at 3 42 58 PM

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

  1. Create and Amend business user consent.
  2. Log into consent manager portal via admin credentials.
  3. Verify the consent amendment history.

Related Issues:

anjuchamantha commented 3 hours ago

The expected behaviour is we show the consent amendment history only to the primary members [1] or to the customer care officer [2]. In this case since the admin is not a primary member, we don't show history.

[1] https://github.com/wso2/reference-implementation-consumerdatastandards-au/blob/1a74c69596495070a6f5015e0cc47fbe617d9713/components/org.wso2.openbanking.cds.consent.extensions/src/main/java/org/wso2/openbanking/cds/consent/extensions/admin/impl/CDSConsentAdminHandler.java#L181

[2] Adds in a future fix...