Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 578 Bytes

File metadata and controls

15 lines (8 loc) · 578 Bytes

OpenFGA Advanced Entitlements Sample Store

Use-Case

This entitlements model is inspired by Notion's subscription plans.

Entitlement limits can be defined based on feature usage like number of collaborators, rows synced, and page history days.

The model, tuples, and unit tests are detailed in store.fga.yaml.

Try It Out

  1. Make sure you have the FGA CLI

  2. In the advanced-entitlements directory, run fga model test --tests store.fga.yaml