Skip to content

Latest commit

 

History

History

groups-resource-attributes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

OpenFGA Groups Resource Attributes Sample Store

Use-Case

It enables members of specific groups to access content depending on resource attributes. For example, you can specify that members of the 'marketing' team can only view documents that are 'published' but members of the 'content' team can also view 'draft' documents.

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 group-resource-attributes directory, run fga model test --tests store.fga.yaml