OpenFGA Syntax Transformer should come built in to python.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 85
- Forks
- 36
- Avg merge
- 3h 8m
- Merged PRs (30d)
- 3
Description
Checklist
- I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
Seems like an obvious thing to have for the python sdk. I rather not run cli commands within a python environment just to generate the json from the easier to read fga file.
Describe the ideal solution
Export the functionality of converting back and forth from fga to json in https://github.com/openfga/frontend-utils to a pure python function.
Alternatives and current workarounds
No response
References
https://github.com/openfga/frontend-utils
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the referenced frontend-utils repository and the OpenFGA Python SDK to understand the existing FGA-to-JSON and JSON-to-FGA behavior. Identify the SDK entry point where a pure Python transformer would belong; done means both conversion directions are available without invoking CLI commands and match the referenced functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100