Skip to content

Commit de42742

Browse files
authored
Merge pull request #114 from authzed/lps-with-optional-revision
adds optional revision in LookupPermissionSets
2 parents 338339b + 0306d77 commit de42742

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

authzed/api/materialize/v0/watchpermissionsets.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ message LookupPermissionSetsRequest {
106106
// the server will close the stream. If more permission sets are available, the consume should open a new stream
107107
// providing optional_starting_after_cursor, using the cursor from the last response.
108108
uint32 limit = 1;
109+
// optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision. It's
110+
// optional, and if not provided, PermissionSets will be looked up at the current revision. The cursor always
111+
// takes precedence in defining the revision when present.
112+
authzed.api.v1.ZedToken optional_at_revision = 2;
109113
// optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.
110114
Cursor optional_starting_after_cursor = 4;
111115
}

0 commit comments

Comments
 (0)