Skip to content

Feature/request details tabs backend#61

Open
ka8540 wants to merge 15 commits into
mainfrom
feature/request-details-tabs-backend
Open

Feature/request details tabs backend#61
ka8540 wants to merge 15 commits into
mainfrom
feature/request-details-tabs-backend

Conversation

@ka8540
Copy link
Copy Markdown

@ka8540 ka8540 commented Apr 23, 2026

This PR adds backend support for the Request Details page tabs by introducing Notes and Helping Volunteers features alongside the existing request retrieval. It adds REST endpoints under /api/v1.0.0/requests/{requesterId}/{requestId} to list and create notes (/notes GET/POST) and to manage helping volunteers (/helpers GET, POST, PUT, DELETE), enforcing lead-only authorization for helper modifications via the X-Actor-UserId header matched against request.leadVolunteerUserId. The data model is extended with request_notes and request_volunteers tables and Request now maps leadVolunteerUserId to the database; corresponding entities, repositories, and services are implemented. i18n messages are included, basic Swagger summaries are added, and controller/service tests cover the new flows (with minor adjustments to brittle legacy assertions). Changes are additive and applied via schema.sql for local/dev; frontend UI and broader role policies are out of scope.

@ka8540 ka8540 requested a review from Siddardth7 April 23, 2026 03:53
@ka8540 ka8540 self-assigned this Apr 23, 2026
@ka8540 ka8540 added the enhancement New feature or request label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants