mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
22 stars 15 forks source link

Reloading privileges in reporting services when a user permission is added or changed #3922

Open zinzinnyohlaing-tw opened 1 month ago

zinzinnyohlaing-tw commented 1 month ago

Summary: Currently, we need to restart the reporting services when user permissions are added or changed. All the other services reload/refresh automatically except the reporting services when user permissions are modified.

Severity: Medium

Priority: Medium

Expected Behavior It is not necessary to restart the reporting services when user permissions are added or changed. All the other services reload/refresh automatically, including the reporting services when user permissions are modified.

Steps to Reproduce

  1. Add privileges related to reports to the user
  2. All the other services reload/refresh automatically, including the reporting services, when user permissions are modified
  3. Reports can be generated without needing to refresh the reporting services automatically

Specifications

Notes:

ZweHMyat commented 1 month ago

Privileges reload PR https://github.com/mojaloop/reporting-bc/pull/29

ei-nghon-phoo commented 1 month ago

ready for QA testing

FYI Ma @pthandar

pthandar commented 4 weeks ago

assigned @PhyuSinMyat8 to validate

PhyuSinMyat8 commented 4 weeks ago

I tried to test the privileges from reporting-bc, but there aren't any reporting-related privileges in the “Add privileges” session. Portal version : v 0.5.30 - dev

Previously, I could select reporting-bc from the "Bounded Context"drop-down list to filter the privileges relevant to reports. Now, though, I was unable to locate that in the drop-down menu as well.

Screenshot (1218).png

FYI ma @pthandar ma @TW-Ei-Nghon-Phoo Ko @myo-min-htet Ko @ZweHMyat

PhyuSinMyat8 commented 3 weeks ago

This issue still hasn't passed yet. I can’t access the report data although I added related privileges to that new user. Portal version : v 0.5.30 - dev as of 4 June, 2024

Reports.png

Test scenario 1

Result

Test scenario 2

Result

FYI ma @pthandar ma @TW-Ei-Nghon-Phoo Ko @myo-min-htet Ko @ZweHMyat

PhyuSinMyat8 commented 4 days ago

### Testing Result Reporting-service auto-reloading → passed Updated date of tested version : 26-June-24

The reporting services reload/refresh automatically without needing to restart that service when user permissions related to reports are added or changed.

Private Zenhub Video