Problem
The README states that role-based authorization guards are not yet implemented:
Add role-based authorization guards (currently JWT-authenticated but not role-scoped) to maintainer/sponsor-only endpoints.
Impact
Currently, any authenticated user can access admin-only endpoints like:
- Bounty approval/rejection
- Milestone budget allocation
- Escrow release/refund operations
- Maintenance pool fund assignment
Solution
Implement NestJS guards to enforce role checks:
@UseGuards(RolesGuard)
@Roles('maintainer')
@Post('bounties/:id/approve')
async approveBounty() { ... }
Priority
High - Critical for production security
Problem
The README states that role-based authorization guards are not yet implemented:
Impact
Currently, any authenticated user can access admin-only endpoints like:
Solution
Implement NestJS guards to enforce role checks:
Priority
High - Critical for production security