Skip to content

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Extend KycFileListEntry DTO with additional fields for compliance reporting
  • Update getUserDatasWithKycFile query to include country, domicile, dates, and risk flags
  • Allow SUPPORT and COMPLIANCE roles to access ACCOUNT endpoints (fixes 403 errors)

Changes

  • role.guard.ts: Add SUPPORT and COMPLIANCE to ACCOUNT allowed roles
  • user-data-support.dto.ts: Extend KycFileListEntry with new fields
  • support.service.ts: Map new fields in toKycFileListEntry
  • user-data.service.ts: Extend query to select all required fields and join country

Test plan

  • API returns extended KYC file data
  • Compliance users can access /v2/user and /v1/bankAccount endpoints
  • E2E test passes with all data displayed

- Add country, domicile, dates, risk flags to KycFileListEntry DTO
- Update getUserDatasWithKycFile query to include all required fields
- Allow SUPPORT and COMPLIANCE roles to access ACCOUNT endpoints
@TaprootFreak TaprootFreak merged commit 2956e01 into develop Feb 5, 2026
6 checks passed
@TaprootFreak TaprootFreak deleted the feat/kyc-files-details-endpoint branch February 5, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants