authzed / spicedb

Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications
https://authzed.com/docs
Apache License 2.0
4.72k stars 254 forks source link

Integrate playground into SpiceDB #1075

Open muntdan opened 1 year ago

muntdan commented 1 year ago

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.

dxh9845 commented 1 year ago

+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?

antoszka commented 1 year ago

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

guipace commented 1 year ago

+1 here too

cheekykesav commented 12 months ago

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

josephschorr commented 3 months ago

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

antoszka commented 3 months ago

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.

muntdan commented 3 months ago

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 ?

josephschorr commented 3 months ago

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

muntdan commented 3 months ago

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

josephschorr commented 3 months ago

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

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

alecmerdler commented 3 weeks ago

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

josephschorr commented 3 weeks ago

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