Add auth check and sanitize input on POST /org

FixSecurityService
Shipped
March 13, 2026 at 6:05 AM UTC
Author
Kamo
Commit
6b165c2

- Return 401 if no authenticated user (prevents orphan orgs) - Build Organization from allowed fields only (prevents mass-assignment) - Fix colors field name (was colorPalettePair, should be colors)

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing