Vercel
Vercel logoVercel · Feature trail

Fine-grained Authorization

1 post · May 2024

What this trail covers

Vercel's platform supports implementing fine-grained authorization models within applications, leveraging solutions like OpenFGA and Okta FGA. This enables relationship-based access control (ReBAC) for more flexible authorization than traditional RBAC, allowing developers to define complex relationships between users, groups, and resources. This capability is integrated into the development workflow, particularly within Next.js applications, by introducing a Data Access Layer (DAL) that centralizes authentication and authorization checks. The DAL acts as an intermediary between application logic and persistent storage, ensuring users are authenticated, authorized, and data is fetched or updated securely. The post details how to integrate OpenFGA's DSL for defining authorization models and using its SDK to perform authorization checks within the DAL.

All Vercel trails