Skip to content

Commit

Permalink
Merge pull request #114 from authzed/lps-with-optional-revision
Browse files Browse the repository at this point in the history
adds optional revision in LookupPermissionSets
  • Loading branch information
vroldanbet authored Jul 16, 2024
2 parents 338339b + 0306d77 commit de42742
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions authzed/api/materialize/v0/watchpermissionsets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ message LookupPermissionSetsRequest {
// the server will close the stream. If more permission sets are available, the consume should open a new stream
// providing optional_starting_after_cursor, using the cursor from the last response.
uint32 limit = 1;
// optional_at_revision specifies the client is requesting to lookup PermissionSets at a specific revision. It's
// optional, and if not provided, PermissionSets will be looked up at the current revision. The cursor always
// takes precedence in defining the revision when present.
authzed.api.v1.ZedToken optional_at_revision = 2;
// optional_starting_after_cursor is used to specify the offset to start streaming permission sets from.
Cursor optional_starting_after_cursor = 4;
}
Expand Down

0 comments on commit de42742

Please sign in to comment.