Skip to content

openfga/sample-stores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenFGA Sample Stores

Join our community Twitter

This repository contains sample store models for OpenFGA.

Table of Contents

Sample Store Models

Creating your store and loading sample data

To try this out, you need the following tools installed:

  1. Clone this repository
git clone https://github.com/openfga/sample-stores.git openfga-sample-stores && cd $_
  1. Use the fga CLI to test the store you choose (e.g. github, custom-roles, etc..)
SAMPLE_STORE=github
fga model test --tests "stores/${SAMPLE_STORE}/store.fga.yaml"

Modeling Resources

The OpenFGA Getting Started documentation is a great way to learn about FGA modeling. These two articles illustrate how you can create a model following the documentation steps:

OpenFGA models in open source projects

If you are using OpenFGA in your open source project, please let us know by opening a PR to add your model to this list.

Resources

About

Examples of OpenFGA models + store content

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks