Skip to content

Release: develop -> main#3658

Merged
davidleomay merged 3 commits intomainfrom
develop
May 1, 2026
Merged

Release: develop -> main#3658
davidleomay merged 3 commits intomainfrom
develop

Conversation

@github-actions
Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* fix: correct mail skip semantics and align PersonalMail with UserV2Mail

F2: Skipped RealUnit mails no longer set recipientMail — only mailSendDate
is written to prevent re-processing. New entity methods skipMail(),
skipPendingMail(), skipChargebackMail() replace the incorrect use of
confirmSentMail()/pendingMail()/chargebackMail() in skip paths.

F10: createPersonalMail now respects walletMailConfig.forcedLang and
passes walletName to translate() and getMailAffix(), consistent with
createUserV2Mail.

F6: createPersonalMail now calls getWalletBodyTexts() so wallet-specific
body overrides are applied.

* style: fix prettier formatting in mail.factory.ts
bernd2022 and others added 2 commits May 1, 2026 08:21
* feat: add swap routes, virtual ibans, ref rewards and notifications to compliance user details

- Extend support service to load swap routes, virtual ibans, ref rewards and notifications per userData
- Add explorer URLs for buy/swap deposit and ref reward target/tx addresses
- Add SwapSupportInfo, VirtualIbanSupportInfo, RefRewardSupportInfo and NotificationSupportInfo DTOs
- Add getSwapsByUserDataId and getRefRewardsByUserDataId service methods
- Wire ReferralModule and NotificationModule into SupportModule

* feat: open support endpoint to support role with role-based field filtering

- Widen GET /support/:id guard from COMPLIANCE to SUPPORT (still accessible by COMPLIANCE/ADMIN via role hierarchy)
- Pass jwt role into getUserDataDetails so the service can filter sensitive fields per role
- Add FIELDS_HIDDEN_BY_ROLE map: SUPPORT and MARKETING get empty kycFiles and ipLogs (skipping the corresponding queries)

* feat: return permissions block in compliance user details

Replaces FIELDS_HIDDEN_BY_ROLE with a single RESTRICTED_ROLES source of truth.
The new SupportPermissions block (viewKycFiles, viewKycLogs, viewIpLogs,
viewSupportIssues, canRequestLimit, canPerformTransactionActions,
viewRecommendation) gates DB queries on the backend and is mirrored to the
frontend so it can render visibility/actions without knowing roles.
* fix: removed custom log exclusion

* fix: improved IP checks
@davidleomay davidleomay merged commit d0ac700 into main May 1, 2026
11 checks passed
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.

3 participants