Model Google Drive permissions with ReBAC
Build a simplified Google Drive permission model with relationship-based access control (ReBAC) in Permit.io, using the API, the Python SDK, or the Node.js SDK.
Banking app example: Mesa Verde
Learn how the Mesa Verde banking demo models multi-tenant RBAC, attribute-based wire transfer rules, ReBAC transactions, and approval flows with Permit.io.
Healthcare Demo Application
Run the Galactic Health Corporation healthcare demo app and see how it combines RBAC, ABAC, and ReBAC policies in Permit.io, including time-limited caregiver access.
Teleco Demo Application
Learn how the Pink Mobile telecom demo app models resources, roles, relationships, and conditions with the Permit.io Node.js SDK, syncs its data, and enforces decisions.
Food Delivery System Example
Run a Nuxt.js food delivery app and see how its RBAC, ABAC, and ReBAC policies in Permit.io let each role perform only its own order and meal actions.
Multi-tenant fleet example: Fleet Ops
Learn how the Fleet Ops demo uses the Permit.io Go SDK for a multi-tenant fleet: a ReBAC organization tree, attribute-based truck sets, and custom Rego tenant rules managed with GitOps and Terraform.
Logistics portal example: Great Eagle
Learn how the Great Eagle Logistics portal demo combines tenant roles, ReBAC role derivations, ABAC trust facts, time-boxed grants, approval workflows, and a legacy app migration with Permit.io.
Bot protection example: humans and AI bots
Learn how a demo Express app classifies each request as a human or a kind of bot, sends the result to Permit.io as a user attribute, and lets ABAC user sets and resource sets decide what each kind of caller may do.
Custom UX with Feature Toggling
Model each UI tile as a Permit.io resource, check the tiles in bulk from a Next.js API route with permit-fe-sdk, and render only the tiles the signed-in user may view.
Other Code Examples
Find open-source Permit.io example repositories that show authorization in specific frameworks, languages, frontends, and AI agent stacks.