Aman-Mittal commented on issue #788:
URL: 
https://github.com/apache/fineract-backoffice-ui/issues/788#issuecomment-6211225104

   ## Business process flow
   
   ```mermaid
   flowchart TD
       A["Auditor opens Audit Trail"] --> B{"READ_AUDIT or ALL_FUNCTIONS_READ?"}
       B -- No --> X["/forbidden"]
       B -- Yes --> C["GET /audits/searchtemplate<br/>users, actions, entities, 
statuses"]
       C --> D["Filter bar: user, action, entity, status, date range, client or 
loan"]
       D --> E["GET /audits with filters and paging"]
       E --> F["Click entry"]
       F --> G["GET /audits/:auditId"]
       G --> H["Mask password, secret, token keys"]
       H --> I["Detail: maker, checker, entity links, payload"]
   ```
   
   ## UI mockup
   
   ```text
   ┌ Audit trail ─────────────────────────────────────────────────────────────┐
   │ User [ any ▾ ] Action [ APPROVE ▾ ] Entity [ LOAN ▾ ] Status [ any ▾ ]   │
   │ Made from [ 2026-10-01 ] to [ 2026-10-16 ]   Client id [    ] Loan id [ ]│
   ├──────────────────────────────────────────────────────────────────────────┤
   │ Made on            Maker     Action    Entity  Resource  Checker   Result│
   │ 2026-10-15 10:42   officer1  APPROVE   LOAN    457       manager2  ✓  ›  │
   │ 2026-10-15 09:10   officer1  CREATE    CLIENT  88        —         ✓  ›  │
   └──────────────────────────────────────────────────────────────────────────┘
   
   ┌ Audit entry #12873 ──────────────────────────────────────────────────────┐
   │ APPROVE · LOAN · resource 457 → [open loan]   Office: Main Office         │
   │ Maker officer1 · 2026-10-15 10:42   Checker manager2 · 2026-10-15 11:05  │
   │ Payload                                                                  │
   │ {                                                                        │
   │   "approvedOnDate": "15 October 2026",                                   │
   │   "approvedLoanAmount": 50000,                                           │
   │   "note": "Approved per committee 14/10",                                │
   │   "password": "••••••"          ← masked in the UI                       │
   │ }                                                                        │
   └──────────────────────────────────────────────────────────────────────────┘
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to