Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Partner's Unallocated Item Requests Query #29

Open
5 tasks
kavinphan opened this issue Feb 4, 2025 · 0 comments
Open
5 tasks

List Partner's Unallocated Item Requests Query #29

kavinphan opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels

Comments

@kavinphan
Copy link
Contributor

kavinphan commented Feb 4, 2025

Description

Create a GET route handler at /api/partners/[partnerId]/unallocatedItemRequests that returns all UnallocatedItemRequest records that belong to the specified partner.

Success Criteria

  • 401 if no session
  • 403 if not STAFF, ADMIN, or SUPER_ADMIN
  • GET /api/partners/[partnerId]/unallocatedItemRequests returns all UnallocatedItemRequest records that belong to the specified partner ID
  • The route handler is documented with a description of its function, parameters, and responses
  • There is a test file that covers the success criteria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants