new

Integrations πŸ”—

Bulk permission checks πŸš€

Screenshot 2024-06-04 at 10
We added new types of permissions checks to our SDKs to allow you to perform many checks at once (bulkCheck) or check access across all tenants (checkInAllTenants).
Bulk Check
For some use cases, you might need to perform multiple
check()
calls at once. To support that, Permit provides a
bulkCheck
function that allows you to validate multiple permission requests in a single call. In its basic form, the
bulkCheck()
function accepts the same input parameters as the
check()
function, but in an array.
Check in All Tenants
To validate permissions irrespective of the tenant, you can use the
permit.checkInAllTenants
function. This function determines if a user has permissions for a specified action on a resource across all tenants, the response will be a list of tenants in which the user is allowed to perform the request.