Skip to content

chore(api): Remove seat limit enforcement [AB#150]#254

Merged
bllr777 merged 1 commit into
mainfrom
feature/150-remove-seat-limit-enforcement
May 8, 2026
Merged

chore(api): Remove seat limit enforcement [AB#150]#254
bllr777 merged 1 commit into
mainfrom
feature/150-remove-seat-limit-enforcement

Conversation

@bllr777
Copy link
Copy Markdown
Collaborator

@bllr777 bllr777 commented May 8, 2026

Summary

Removes all seat limit enforcement from the API. The seat limit feature conflicts with the upcoming free trial and was decided to be removed in the Sprint 7 kickoff meeting. The DB column remains (no migration needed).

Type of Change

  • Refactoring

Changes

API

  • Removed SeatLimitReached error and SetSeatLimitAsync from EmployeeInviteErrors and ISubscriptionRecordService
  • Removed enforcement block from EmployeeInviteService
  • Removed SetSeatLimitAsync call and SeatLimit assignment from SubscriptionRecordService
  • Removed subscriptions DI and SetSeatLimitAsync call from OnboardingController
  • Removed SeatLimit from OrganizationDtos.SetTeamSizeRequest and OrganizationDto

Testing

  • Unit tests pass (54/54)
  • Build succeeds (0 warnings, 0 errors)
  • dotnet format clean

Work Item

Closes AB#150 — child of User Story #147

Checklist

  • Self-review performed
  • No new lint warnings introduced
  • Tests pass locally

Removed all seat limit logic from the API — enforcement blocks invite flow and conflicts with the free trial plan.

Changes:
[1] Removed SeatLimitReached error and SetSeatLimitAsync from EmployeeInviteErrors + ISubscriptionRecordService
[2] Removed seat limit enforcement block from EmployeeInviteService
[3] Removed SetSeatLimitAsync and SeatLimit assignment from SubscriptionRecordService
[4] Removed subscriptions DI and SetSeatLimitAsync call from OnboardingController
[5] Removed SeatLimit from OrganizationDtos.SetTeamSizeRequest and OrganizationDto

References:
[1] JobFlow.Business/ModelErrors/EmployeeInviteErrors.cs:1
[2] JobFlow.Business/Services/EmployeeInviteService.cs:1
[3] JobFlow.Business/Services/SubscriptionRecordService.cs:1
[4] JobFlow.API/Controllers/OnboardingController.cs:1
[5] JobFlow.API/Models/OrganizationDtos.cs:1
@bllr777 bllr777 merged commit 644025e into main May 8, 2026
8 checks passed
@bllr777 bllr777 deleted the feature/150-remove-seat-limit-enforcement branch May 8, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant