Embedded spicedb
# spicedb
w
Hello, is it possible to embed parts of spicedb in a go application, so that it can evaluate permission checks locally rather than calling spicedb? The usecase we have is that we run a controlplane / dataplane architecture. We have spicedb running in the controlplane but no persistence / database available in the dataplane. So the idea would be to export and one-way sync all the permissions from the controlplane into the dataplane and evaluate permission checks there. Not sure if this would be feasible?
v
Yes it's possible. You can find an example of starting up the spiceDB server programmatically with Go in the girhub.com/authzed/examples repo
w
Thanks a ton, this is great. I’m going to give this a try!
26 Views