Skip to content

Commit 66ea80b

Browse files
committed
Mark BulkCheckPermission under experimental as deprecated
1 parent 895d1dd commit 66ea80b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

authzed/api/v1/experimental_service.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,23 @@ service ExperimentalService {
4444
};
4545
}
4646

47+
// NOTE: BulkCheckPermission has been promoted to the stable API as "CheckBulkPermission" and the
48+
// API will be removed from experimental in a future release.
4749
rpc BulkCheckPermission(BulkCheckPermissionRequest)
4850
returns (BulkCheckPermissionResponse) {
4951
option (google.api.http) = {
5052
post: "/v1/experimental/permissions/bulkcheckpermission"
5153
body: "*"
5254
};
55+
option deprecated = true;
5356
}
5457
}
5558

59+
// NOTE: Deprecated now that BulkCheckPermission has been promoted to the stable API as "CheckBulkPermission".
5660
message BulkCheckPermissionRequest {
5761
Consistency consistency = 1;
5862

59-
repeated BulkCheckPermissionRequestItem items = 2 [ (validate.rules).repeated .items.message.required = true ];
63+
repeated BulkCheckPermissionRequestItem items = 2 [ (validate.rules).repeated .items.message.required = true, deprecated=true ];
6064
}
6165

6266
message BulkCheckPermissionRequestItem {

0 commit comments

Comments
 (0)