KilnVM Live Labs /lab/openfga-rebac-policy-test
Step 1 of 3 Docs Claim This Sandbox
Unclaimed Preview Sandbox · Hosted by KilnVM (15-run evaluation cap). Maintain this tool? Claim & embed on your docs →

Validate and Test ReBAC Authorization Models with OpenFGA

Validate OpenFGA DSL schemas, export JSON authorization models, catch an inherited permission bug with fga model test, and fix it offline.

Step 1 of 3

Validate FGA DSL model and transform to JSON

Validate /workspace/model.fga syntax and compile the DSL into OpenFGA JSON AST in model.json:

bash
fga model validate --file model.fga && fga model transform --file model.fga > model.json && head -n 20 model.json

Click Check Step to continue.