-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Create role guards and decorators for admin, creator, and donor access control.
Tasks:
- Create
RolesGuard - Create
@Roles()decorator - Define role enum:
ADMIN,CREATOR,DONOR - Implement role checking logic
- Combine with JWT guard
- Add role validation in user context
Acceptance Criteria:
- Routes can be restricted by role
- Multiple roles can be specified
- Returns 403 for unauthorized roles
- Works seamlessly with JWT guard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program