Comments (5)
I guess that was changed at some point... we can look into reordering the response then, although the intent is still to use the request information from the pairs for correlation, not the order
from spicedb.
@tadejsv This is by design: The bulk check permissions has a streaming response and will returns results as they are computed; this is why each returned result contains a pair
that includes the initial request: to ensure it can be correlated with the request that created the response
from spicedb.
But it doesn't actually have a streaming response?
from spicedb.
@josephschorr https://github.com/authzed/api/blob/main/authzed/api/v1/experimental_service.proto#L48
from spicedb.
+1 to ordered results. It makes the APIs really ergonomic from the client's perspective.
# pseudocode
resources = resources_to_check = [...]
responses = spiceDB.bulk_check(resources)
authorized_resources = [
resource
for resource, response in zip(resources, responses)
if response # filter down to access granted
]
from spicedb.
Related Issues (20)
- Do not observe histogram duration multiple times during Close()
- SpiceDB Spanner queries use different+worse index than e.g. same query in Spanner Studio HOT 6
- Makes the max receive size of grpc to be configurable HOT 7
- SpiceDB crashes on wildcard (*) permission HOT 7
- SpiceDB cannot start due to telemetry error HOT 11
- Change unable to init telemetry `error` to `warning` since it is not strict dependency to SpiceDB HOT 2
- Remove statically analyzable dead-code HOT 4
- Caveat Feedback Mechanism HOT 3
- Not able to import BulkCheckPermission HOT 1
- Allow Read-Only API in production usage. HOT 9
- Ensure the deterministic serialized expression for the caveats HOT 10
- Use the same default port for the HTTP API across `serve` and `serve-testing` HOT 3
- flake: `schemacaching/standardcaching_test.go`
- Ensure GitHub releases begin with `v` HOT 2
- Stats Module HOT 2
- Investigate unifying requestID and OTel traceID HOT 1
- Verify that the watch API emits one event per atomic transaction at the datastore layer, and then document that behavior in the API
- CheckBulkPermissions in SpiceDB
- Need a way to compare schemas that is formatting agnostic HOT 12
- Failure to delete relationships when not allowing partial deletions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spicedb.