Skip to content

Latest commit

 

History

History

temporal-access

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

OpenFGA Temporal Access Sample Store

Use-Case

An application needs to grant access to users to a document during a specific period of time.

We can model it with OpenFGA using conditional relationship tuples.

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 temporal-access directory, run fga model test --tests store.fga.yaml