is there any api for authzed/playground
# spicedb
y
is there any api for authzed/playground ?
v
What are you trying to achieve? @Joey could probably clarify☝️
y
I want to automate the process of testing schemas and permissions. Specifically, I have a schema and desired permissions, and I want to replicate what we do manually in a playground environment programmatically. Instead of manually copying, pasting schemas, and assigning permissions, the process should be streamlined through automation.
@yetitwo any idea about these things ?
y
have you seen zed validation files?
they're what we used at my old company for CI of our schema
we held our schema in a separate file from the assertions and then had a script that concatenated them and ran
zed validate
i'm also currently working on a composable schema feature that will allow users to both break down a schema and also write test blocks inline (rather than needing the yaml syntax)
y
thank you , seems my issue is resolved 🙂 👍
appreciate that .
y
sure thing!
y
btw i saw the gh action , it does the same job as the zed validate , am i correct ??
y
which github action are you referring to?
2 Views