Thanks I will check it out.
In our tests we spin up the subset of our microservices that we test and populate them with a small amount of data to run our test against. Between tests the database is cleared as our microservices are stateless. Along we start spicedb and populate this with the permissions on testdata but also some initial permissions (think global rights and an initial admin user). So between tests we want to clear the permissions on testdata but not the initialization data. So we communicate directly to postgres to wipe the testdata permissions.
But I was wondering, as spicedb has some caching mechanism (right?), does fiddling with the datastore directly hurt performance a lot?