pepegar
03/25/2025, 9:40 AMvroldanbet
03/25/2025, 9:51 AMBulkCheckPermissionpepegar
03/25/2025, 9:53 AMvroldanbet
03/25/2025, 9:54 AMBulkChecPermission does already batching of the underlying subproblems if it sees fit. So such an API would add much on top of the proposed solution, other than the ergonomicsvroldanbet
03/25/2025, 9:55 AMpepegar
03/25/2025, 9:55 AMvroldanbet
03/25/2025, 9:56 AMBulkCheckPermission would be effectively similar to issuing N CheckPermission as there is no opportunity for batchingpepegar
03/25/2025, 9:58 AMvroldanbet
03/25/2025, 10:07 AMBulkCheck is that is not streaming, and thus you'll be making the request as slow as the sloweset of the items in the request, while with CheckPermission you can load the result in your application as soon as the result comes back (so it's more async friendly towards frontends).
BulkCheck only pays off if you are checking the same permission over multiple resources.Joey
03/25/2025, 10:18 AMyetitwo
03/25/2025, 1:39 PM