Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 552 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 552 Bytes

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