Phase 7 summary: Segmentation, access control & e2e tests #7

Closed
opened 2026-10-14 23:16:04 -04:00 by vmanne-poc · 0 comments
Owner

Delivered in v0.7.0.

Scope

  • Segment rule engine: whitelisted JSON rules compiled to Prisma (email, names, dates, custom data.<key>; all/any groups up to 3 levels)
  • Segments API (CRUD + preview) and builder UI with live preview
  • Campaign targeting by segment; schedule / unschedule endpoints and UI
  • ProjectAccessGuard on every /projects/:projectId/... route
  • End-to-end suite against PostgreSQL with a fake mailer (22 tests); unit tests now 43
  • docker compose run --rm --build -T backend-test (resets only postak_test)
  • POSTAK_SCHEDULER_ENABLED, POSTAK_DISABLE_REGISTRATION
  • Lockfiles + npm ci for reproducible builds

Security and bug fixes are tracked as separate issues in this milestone.

Verified: 43 unit + 22 e2e passing; live smoke test through the nginx proxy.

Delivered in `v0.7.0`. **Scope** - Segment rule engine: whitelisted JSON rules compiled to Prisma (email, names, dates, custom `data.<key>`; all/any groups up to 3 levels) - Segments API (CRUD + preview) and builder UI with live preview - Campaign targeting by segment; schedule / unschedule endpoints and UI - `ProjectAccessGuard` on every `/projects/:projectId/...` route - End-to-end suite against PostgreSQL with a fake mailer (22 tests); unit tests now 43 - `docker compose run --rm --build -T backend-test` (resets only `postak_test`) - `POSTAK_SCHEDULER_ENABLED`, `POSTAK_DISABLE_REGISTRATION` - Lockfiles + `npm ci` for reproducible builds **Security and bug fixes** are tracked as separate issues in this milestone. **Verified:** 43 unit + 22 e2e passing; live smoke test through the nginx proxy.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#7
No description provided.