GTBitsOfGood / GTBitsOfGood/VolunTrack

Organizational Settings API Endpoints

Open
#519 0 comments 0 reactions 1 assignee Claimed by @jxchen21 View on GitHub
Dominant language
JavaScript
Stars
12
Forks
8
PR merge metrics
No merged PRs in 30d

Description

## Context

- We need a way for admins to be able to change organizational settings for user approval
- This means that we need endpoints that can toggle and change the user registration form, and the need overall for orgs to need approval in the first place

## Requirements

- /api/organizations/[id] endpoint that is a PUT route to update 'requiresUserApproval' and the 'userRegistrationForm' in the database
- As defined at https://github.com/GTBitsOfGood/VolunTrack/issues/518, you will have to work with the dev for this ticket to make sure that ticket is merged in first and that you are on the same page about the data
- You should still be able to do the bulk of the work
- Also should be a /api/organizations/[id] to get the 'requiresUserApproval' and the 'userRegistrationForm' so the frontend can use it

## Acceptance Criteria

- [ ] Both API routes completed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.