Ongoing ยท Platform priority

OpenFGA Authorization Migration

An active migration of SpotDraft's authorization logic into OpenFGA, a relationship-based authorization system, without regressing existing access behavior. The logic is currently scattered across application code and product areas.

All projects Resume

Role

Engineering Manager, Platform

Ongoing platform migration.

01

Challenge

Deploying a new authorization engine is the easy part. The hard part is proving that its decisions match the legacy system before it becomes the source of truth. A mismatch can mean either unauthorized access or an incorrect denial.

02

Approach

I set the staged rollout model. First, migrate existing relationships into OpenFGA and run it alongside the legacy system in shadow/comparison mode. Then log and investigate every mismatch, and cut over a product area only once confidence is high enough. Rollback and monitoring are built into each phase instead of treated as an afterthought. I also pushed for faster bulk-migration mechanisms over slow row-by-row processing.

03

Outcome

This is an active platform migration. The 2026 Platform targets are to move all agreed authorization workflows to OpenFGA and keep decision mismatches under 0.5% during validation. Rollout should complete with zero P0/P1 authorization incidents, and the transitional dual-run flows retire once each scope is released.

04

What it taught

For a system this security-sensitive, the migration plan matters as much as the target architecture. Shadow validation and mismatch logging make a cutover safe to trust.

More projects

All projects
Ongoing
Multi-Workspace & Explicit Tenant Ownership

A platform program to make workspace ownership explicit across the data model. It also moves authentication from a one-user-one-workspace assumption to one identity across many workspaces.

Shipped
Legal Intake

Structured legal-request intake. It started as a 2024 internal hackathon project with Sanket Mishra and Punit Batra. Through 2025 a cross-functional squad I led built it out, and it shipped to production in January 2026 as the 'front desk of Legal' inside SpotDraft.

Shipped
Salesforce Reverse Sync

A configurable reverse-sync system that pushes contract and workflow data back into Salesforce. It was shaped to extend across triggers, conditions, object mappings, and future automation use cases.