Skip to main content
Auth0 FGA allows you to grant a group of users access to a particular object.

Before you start

Familiarize yourself with basic Auth0 FGA Concepts before you continue.

Step by step

01. Adding company to the document

The following Relationship Tuple assigns ever employee of a type company a reader relationship with a particular object of type document, in this case document:planning):

02. Add an employee to the company

Below is a relationship tuple specifying that Anne is an employee of company:xyz:

03. Checking an individual member’s access to an object

Call the Check API to verify that Anne can read document:planning returns true: The same check for Becky, a different user, returns false, because Becky does not have an employee relationship with company:xyz: