How to use playground frontend to show exist schema and relations? Is there a way to reuse the playground?
v
vroldanbet
07/04/2024, 11:18 AM
The playground uses an embedded SpiceDB server compiled to WASM, to it runs completely on the browser, so the answer is no, you can't use the playground to visualize the state of your SpiceDB instance.
Would you mind opening a feature request in the repo?
https://github.com/authzed/playground
vroldanbet
07/04/2024, 11:18 AM
Also what do you mean with "reuse the playground"?
z
zhangbo.yang
07/05/2024, 2:49 AM
aha, the same thing
"reuse the playground" means
1. create a spiceDB instance and fill the data (schema / relationships / permissons)
2. use playground to show the existed spiceDB data
v
vroldanbet
07/05/2024, 9:34 AM
I saw someone (you?) opened an issue, I'd say keep a look at it (or consider contributing!)