spicedb icon indicating copy to clipboard operation
spicedb copied to clipboard

Integrate playground into SpiceDB

Open muntdan opened this issue 2 years ago • 15 comments

The only thing lacking compared to OpenFGA is the capability to have the nice Playground UI on top of you own instance of the SpiceDB Docker. Please build the https://github.com/authzed/spicedb/tree/main/pkg/development/wasm and included it in the Docker as a http port.

muntdan avatar Dec 28 '22 14:12 muntdan

+1 on this. The ability to run the playground locally would help me prototype my permission models locally against my local SpiceDB instance. As mentioned above, OpenFGA does this and it makes it super easy to grok what is happening.

Thanks for this project and let me know if there's anything we can do to help contribute?

dxh9845 avatar May 03 '23 16:05 dxh9845

+1 from me, too. I'm happy to beta-test and provide feedback if necessary.

antoszka avatar May 11 '23 13:05 antoszka

+1 here too

guipace avatar Jun 23 '23 20:06 guipace

+1 from me too. Its a nice feature to have.

cheekykesav avatar Jul 07 '23 07:07 cheekykesav

Playground is now open source: https://github.com/authzed/playground

We expect this integration to come in the near future now that Playground is open

josephschorr avatar Apr 01 '24 20:04 josephschorr

Great news, thanks for the update!

On 1 Apr 2024, at 22:30, Joseph Schorr @.***> wrote:

Playground is now open source: https://github.com/authzed/playground

We expect this integration to come in the near future now that Playground is open

— Reply to this email directly, view it on GitHub https://github.com/authzed/spicedb/issues/1075#issuecomment-2030503583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAASP2P6O4VJPWWXUNEXQQLY3G7UZAVCNFSM6AAAAAATLJ6K3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGUYDGNJYGM. You are receiving this because you are subscribed to this thread.

antoszka avatar Apr 01 '24 22:04 antoszka

Playground is now open source: https://github.com/authzed/playground

We expect this integration to come in the near future now that Playground is open

Do I understand correctly that this is a separate docker with an inside Spicedb meant for testing/development and cannot connect to the real/production Spicedb instance for schema retrieval ? So what it brings compared to the existing online version is only the capability to run it on premise and maybe to store the test data locally but not the option to run the tests against the real/production Spicedb ?

muntdan avatar Apr 02 '24 06:04 muntdan

The Playground always uses a real SpiceDB (via WASM) to run its tests. Integration coming along will allow for importing/exporting of schema+relationships to the underlying SpiceDB so external API calls can be made against the data, but it should not impact the testing itself

josephschorr avatar Apr 02 '24 14:04 josephschorr

Any Idea when the "Integration coming along" will be released ?

muntdan avatar Apr 03 '24 06:04 muntdan

Any Idea when the "Integration coming along" will be released ?

Has not been scheduled yet, so as of right now - unknown

josephschorr avatar Apr 03 '24 14:04 josephschorr

The SpiceDB Playground is now open-source and can be ran locally. I believe this issue can be closed.

alecmerdler avatar Jun 07 '24 21:06 alecmerdler

Actually, we need to reopen it because we need to do direct integration

josephschorr avatar Jun 08 '24 03:06 josephschorr

+1

cbonami avatar Jul 11 '24 11:07 cbonami