Ability to import stores at startup #64
Closed
alexandrebrg
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Interesting idea! What is the use case you are most interested on? |
Beta Was this translation helpful? Give feedback.
3 replies
-
OK, makes sense, thanks @alexandrebrg, we added it to the project backlog here openfga/roadmap#12 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for development purposes, it would be useful to have a way to import store(s) at startup. It would be an argument like
run --import-stores
command that will allow to import DSL* or json store (including authorization models...) files from a specific folder (e.g./var/openfga/import/
). Finally, in case the store already exists, it would ignore the import.For instance, Keycloak does this by reading all the files in a specific folder (e.g.
/opt/keycloak/data/import/
), it imports compatible models.*OpenFGA only accepts json format now, but we can imagine that it might be able in the future to transform into json on the fly
How would it improve developer experience ?
docker-compose
, give ability to share volumes and make easier importing stores with sample dataBeta Was this translation helpful? Give feedback.
All reactions