Permit.check()
permit.check() is the main Authorize function to enforce permissions in your application.
Bulk Check
The permit bulk check() function allows you to validate multiple permission requests in a single call.
Check in All Tenants
To validate permissions irrespective of the tenant, you can use the permit.AllTenantsCheck function.
Data Filtering
Implementing data filtering within access control represents a different approach to managing permissions.
Get user permissions
To get all user permissions irrespective of the tenant, you can use the permit.GetUserPermissions function.
Local Enforcement APIs
Besides the standard check and data filtering functions, applications may require additional information such as role assignments, roles, tenants, etc.