pub fn personnel_routes() -> Router<AppState>
Expand description
Builds and returns the /modules/{module_id}/personnel
route group.
Routes:
GET /personnel
→ get all assigned users grouped by rolePOST /personnel
→ assign one or more users to a roleDELETE /personnel
→ remove one or more users from a roleGET /personnel/eligible
→ fetch users not assigned to any role in the module