Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 630 Bytes

File metadata and controls

13 lines (7 loc) · 630 Bytes

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