Skip to main content

Developer Mode

The Developer Mode page provides a single page view with panels that allow managing the authorization model, relationship tuples, and assertions. You may toggle between the authorization model editor and the authorization model previewer by clicking the Preview button in the Editor panel. New relationship tuples may be added and relationship tuples may be removed in the Tuples Editor.

Image showing developer mode

Adding assertions

  1. In the developer mode page, you may run assertions to test authorization models and relationship tuples. To add new assertions, click Add Assertion button in the Assertions Editor panel located on the right side of the screen.

    Image showing the add assertion button

  2. This will bring up the text for User, Relation and Object. Type in the values desired. Toggle the ASSERTION selection on (green) to indicate that you expect the relationship to exist. Toggle the ASSERTION selection off (light gray) to indicate that you expect the relationship not to exist.

    Image showing the add assertion popup

  3. Click check mark button to add the assertion. Click X button to cancel.

  4. To test all assertions, click the Run All button.

    Image showing run all and results

  5. You may also only test a subset of the assertions by selecting the desired assertions to test and clicking Run Selected.

  6. The result of the last assertions test will be shown at the bottom of the panel.

note

The Dashboard will only display a maximum of 100 tuples. This is a current limitation of the Dashboard view. Use the FGA CLI or API to retrieve all tuples.

Have Feedback?

You can use any of our support channels for any questions or suggestions you may have.