Regenerate protos from latest api (adds DeleteRelationships cursor) - #432
Merged
josephschorr merged 2 commits intoSep 14, 2026
Merged
Conversation
miparnisari
reviewed
Sep 10, 2026
| "/v1/permissions/resources": { | ||
| "post": { | ||
| "summary": "LookupResources returns all the resources of a given type that a subject\ncan access whether via a computed permission or relation membership.", | ||
| "description": "Results are streamed and **not guaranteed to be unique**: the same resource\nmay be returned more than once (for example via caveated/conditional\nresults, or when a limit is set), possibly with differing permissionship.\nCallers that require uniqueness should deduplicate results.", |
Contributor
There was a problem hiding this comment.
Results are streamed and not guaranteed to be unique: the same resource\nmay be returned more than once (for example via caveated/conditional\nresults, or when a limit is set), possibly with differing permissionship
:wat:
Member
Author
There was a problem hiding this comment.
That's from a different change but it is correct - you may get conditional (for caveated) vs approved (for the uncaveated branch)
miparnisari
previously approved these changes
Sep 10, 2026
Regenerates the Go bindings from the latest buf.build/authzed/api (BufTag 55aa23d5 -> ef1e3767, via mage gen:all), which adds optional_cursor to DeleteRelationshipsRequest and after_result_cursor to DeleteRelationshipsResponse for resumable, cursor-advanced batched deletion, mirroring ReadRelationships and LookupResources. The reference bump also picks up accumulated documentation-only changes to the LookupResources and LookupSubjects streaming results. Signed-off-by: Joseph Schorr <josephschorr@users.noreply.github.com>
josephschorr
force-pushed
the
delete-relationships-cursor
branch
5 times, most recently
from
September 14, 2026 19:35
7365886 to
cc12308
Compare
miparnisari
previously approved these changes
Sep 14, 2026
Resolves GO-2026-6061 (xDS RBAC / HTTP2 transport server vulnerabilities in google.golang.org/grpc), the vulnerability govulncheck reports as affecting the code, so that `mage lint:go` passes. Signed-off-by: Joseph Schorr <josephschorr@users.noreply.github.com>
josephschorr
force-pushed
the
delete-relationships-cursor
branch
from
September 14, 2026 19:47
cc12308 to
d3affe6
Compare
miparnisari
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerates the Go bindings from the latest
buf.build/authzed/api, bumping the pinned reference inmagefiles/gen.gofrom55aa23d5toef1e3767.The headline addition is the DeleteRelationships cursor (from authzed/api#174, merged):
DeleteRelationshipsRequest.OptionalCursor(field 6)DeleteRelationshipsResponse.AfterResultCursor(field 4)Together these enable resumable, cursor-advanced batched deletion on datastores that support it, mirroring the existing cursor fields on
ReadRelationshipsandLookupResources.The reference bump also picks up the accumulated documentation-only changes to the
LookupResourcesandLookupSubjectsstreaming results ("results are not guaranteed to be unique") that landed in the API since the previous pin.Details
magefiles/gen.go:BufTag55aa23d5→ef1e3767mage gen:allpermission_service.*,proto/apidocs.swagger.json, and thezz_generated.version.gofiles changego build ./...passes