Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Change Requests] - Endpoint to update the activation buffer days

Open
#4,413 0 comments 0 reactions 1 assignee View on GitHub

@Steph375 is already working on this.

Since Sep 17, 2026.

Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

The activation buffer is a number of days stored on the organization as activationBufferDays. It controls how far a work package's activation start date can drift from its scheduled date before the change is treated as significant. The column exists with a default, but there's currently no way to change the value from the app; this ticket adds the backend endpoint to update it. (A separate frontend ticket builds the input that calls this.)

Task
Add a service method, controller method, and route that let an admin update the organization's activationBufferDays, with validation.

Acceptance Criteria
  • OrganizationsService.setActivationBufferDays(value, submitter, organization) updates the org's activationBufferDays and returns the updated org.
  • Only admins can call it
  • Invalid values are rejected: negative numbers and non-integers.
  • A controller method and route expose it, following the same shape as other organization settings.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.