Skip to content

Latest commit

 

History

History

advanced-entitlements

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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