Skip to main content

Interacting with the API

note
OpenFGA is an open source Fine-Grained Authorization solution based on Google's Zanzibar. We welcome community contribution to this project.

This section helps you integrate OpenFGA with your system. To do this, you will learn how to programmatically write authorization related data to OpenFGA.

When to use

This section is useful if you have defined an authorization model and want to understand how to write authorization data to OpenFGA to represent the state of your system.

Content

Manage User Access

Write relationship tuples to manage a user's access to an object.

Manage Group Access

Write relationship tuples to manage access to an object for all members of a group.

Manage Group Membership

Write relationship tuples to manage the users that are members of a group.

Manage Relationships Between Object

Write relationship tuples to manage how two objects are related. E.g. parent folder and child document.

Transactional Writes

Write multiple relationship tuples in a single request, so all writes either succeed or fail.

Relationship Queries

An overview of how to use the Check, Read, Expand, and ListObject APIs.

Search with Permissions

Implementing search with OpenFGA.