You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Backend] JWT-protected admin dispute resolve/reject endpoints are not audit-logged #13
The API-key admin mutations (check-defaults, reindex, webhooks) attach auditLog, but the JWT-protected dispute endpoints POST /disputes/:disputeId/resolve and /disputes/:disputeId/reject in src/routes/adminRoutes.ts have no auditLog even though they change loan default status.
Acceptance criteria
Attach the auditLog middleware to the dispute resolve and reject routes
Ensure the acting admin identity (JWT publicKey) is recorded
Confirm sensitive fields stay redacted by the existing sanitizer
Add a test asserting an audit_logs row is written for a resolve action
Hi, maintainers 👋.
I’d like to work on this issue.
I’m a full-stack developer and smart contract expert; I have previously contributed to multiple open-source projects.
Hi maintainers, I'd like to work on this issue as well. I'm a full-stack developer with experience in Rust, TypeScript, and smart contract development, and I recently completed PR #25 on remitlend-frontend (merged — RFC 4180 CSV export). For this issue I'll attach the auditLog middleware to both the dispute resolve and reject routes in adminRoutes.ts, ensure the JWT publicKey of the acting admin is captured, verify the existing sanitizer redacts sensitive fields, and add a test asserting an audit_logs row is written on a resolve action.
🏆 @AbuJulaybeeb: You earned 45 FoxPoints for this contribution! Your current tier: Specialist (3,776 total points). Track your full progress on GrantFox.
👏 Great work, @AbuJulaybeeb! Keep contributing to LabsCrypt.
Activity
Amarjeet325 commentedon Jun 19, 2026
Hi, maintainers 👋.
I’d like to work on this issue.
I’m a full-stack developer and smart contract expert; I have previously contributed to multiple open-source projects.
Could you please assign this issue to me?
samjay8 commentedon Jun 20, 2026
Hello, maintainer, I have gone through this issue and I will like to help work on it, please can I handle it?
ETA: 6 hours.
Yerimahjr commentedon Jun 21, 2026
Hi maintainers, I'd like to work on this issue as well. I'm a full-stack developer with experience in Rust, TypeScript, and smart contract development, and I recently completed PR #25 on remitlend-frontend (merged — RFC 4180 CSV export). For this issue I'll attach the auditLog middleware to both the dispute resolve and reject routes in adminRoutes.ts, ensure the JWT publicKey of the acting admin is captured, verify the existing sanitizer redacts sensitive fields, and add a test asserting an audit_logs row is written on a resolve action.
AbuJulaybeeb commentedon Jun 21, 2026
Hi Maintainer, I have reviewed the description of the issue and would like to hop on this issue and deliver ETA
grantfox-oss commentedon Jun 21, 2026
🦊 GrantFox — @AbuJulaybeeb has been assigned to this issue as part of the Official Campaign campaign!
Next steps:
Closes #13)Good luck! Track your progress on GrantFox.
grantfox-oss commentedon Jun 29, 2026
🎉 This issue has been marked as completed on GrantFox as part of the Official Campaign campaign!
@AbuJulaybeeb's PR #41 was approved and merged by @ogazboiz.
🏆 @AbuJulaybeeb: You earned 45 FoxPoints for this contribution! Your current tier: Specialist (3,776 total points). Track your full progress on GrantFox.
👏 Great work, @AbuJulaybeeb! Keep contributing to LabsCrypt.