Skip to content

Commit

Permalink
feat: add context to assertions (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Sep 4, 2024
1 parent 41eb32f commit a45dbd0
Show file tree
Hide file tree
Showing 4 changed files with 1,605 additions and 1,554 deletions.
4 changes: 4 additions & 0 deletions docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,10 @@ message Assertion {
(validate.rules).repeated.max_items = 20,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {maximum: 20}
];

// Additional request context that will be used to evaluate any ABAC conditions encountered
// in the query evaluation.
google.protobuf.Struct context = 6;
}

message Assertions {
Expand Down
Loading

0 comments on commit a45dbd0

Please sign in to comment.