Skip to content

[Backend] Add Admin User Management Endpoints (#815)#906

Open
willy-de7 wants to merge 1 commit into
Fracverse:masterfrom
willy-de7:feature/admin-user-management-endpoints
Open

[Backend] Add Admin User Management Endpoints (#815)#906
willy-de7 wants to merge 1 commit into
Fracverse:masterfrom
willy-de7:feature/admin-user-management-endpoints

Conversation

@willy-de7

Copy link
Copy Markdown
  • Added GET /api/admin/users endpoint with pagination and KYC status filtering
  • Added PUT /api/admin/users/:address/kyc endpoint for admin KYC override
  • Secured admin routes with JWT authentication middleware
  • Implemented comprehensive trace logging for admin action auditing
  • Added WebSocket event broadcasting on KYC status updates
  • All operations modify users table in PostgreSQL
  • Validated KYC status values (pending, approved, rejected, submitted)
  • Returns appropriate error responses with status codes

closes #815

- Added GET /api/admin/users endpoint with pagination and KYC status filtering
- Added PUT /api/admin/users/:address/kyc endpoint for admin KYC override
- Secured admin routes with JWT authentication middleware
- Implemented comprehensive trace logging for admin action auditing
- Added WebSocket event broadcasting on KYC status updates
- All operations modify users table in PostgreSQL
- Validated KYC status values (pending, approved, rejected, submitted)
- Returns appropriate error responses with status codes
@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@willy-de7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ONEONUORA

Copy link
Copy Markdown
Contributor

@willy-de7
Run cargo test

@willy-de7

Copy link
Copy Markdown
Author

@ONEONUORA how about now

@ONEONUORA

Copy link
Copy Markdown
Contributor

@willy-de7
Nothing was implement
Pls run test
Make sure all tests pass
Then git push to this branch

@ONEONUORA

Copy link
Copy Markdown
Contributor

@willy-de7
Pls update on this PR

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.

[Backend] REST API: Build Admin User Management Endpoints

2 participants