The OpenFGA model
Start with the model overview.
Use from JavaScript
Section titled “Use from JavaScript”See Use from JavaScript.
How the functions map to OpenFGA
Section titled “How the functions map to OpenFGA”See How the functions map to OpenFGA.
Write a model
Section titled “Write a model”See Write a model.
Write tuples
Section titled “Write tuples”See Write tuples.
See Check.
ListObjects
Section titled “ListObjects”See ListObjects.
ListUsers
Section titled “ListUsers”See ListUsers.
See Read.
Contextual tuples
Section titled “Contextual tuples”See Contextual tuples.
Functions for RLS
Section titled “Functions for RLS”See Check for the current subject. These functions work in application code and RLS.
Change the model
Section titled “Change the model”See Change the model.
Privileges
Section titled “Privileges”See Privileges.