Skip to content

Commit

Permalink
Merge branch 'main' into feat/batch-check
Browse files Browse the repository at this point in the history
  • Loading branch information
justincoh authored Oct 25, 2024
2 parents a1dfee7 + 3047760 commit 15aa396
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 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: 2 additions & 2 deletions openfga/v1/openfga.proto
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ message ContextualTupleKeys {
repeated TupleKey tuple_keys = 1 [
json_name = "tuple_keys",
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated.max_items = 20,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {max_items: 20}
(validate.rules).repeated.max_items = 100,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {max_items: 100}
];
}

Expand Down
6 changes: 3 additions & 3 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,8 @@ message ListUsersRequest {

repeated TupleKey contextual_tuples = 6 [
json_name = "contextual_tuples",
(validate.rules).repeated.max_items = 20,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {max_items: 20}
(validate.rules).repeated.max_items = 100,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {max_items: 100}
];

// Additional request context that will be used to evaluate any ABAC conditions encountered
Expand Down Expand Up @@ -1726,7 +1726,7 @@ message Assertion {

repeated TupleKey contextual_tuples = 3 [
json_name = "contextual_tuples",
(validate.rules).repeated.max_items = 20,
(validate.rules).repeated.max_items = 20, // This is not a typo, we intentionally restrict contextual tuples in assertions to 20 for now
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {max_items: 20}
];

Expand Down
4 changes: 2 additions & 2 deletions proto/openfga/v1/openfga.pb.go

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

4 changes: 2 additions & 2 deletions proto/openfga/v1/openfga.pb.validate.go

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

2 changes: 1 addition & 1 deletion proto/openfga/v1/openfga_service.pb.go

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

4 changes: 2 additions & 2 deletions proto/openfga/v1/openfga_service.pb.validate.go

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

0 comments on commit 15aa396

Please sign in to comment.