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.
Engineering Manager, Platform
Ongoing platform migration.
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.
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.
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.
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 projectsA 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.
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.
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.