Permit icon

Permit

Interact with Permit.io authorization service

Get User Permissions

AI-generated

Summary

Retrieve all permissions for a specified user, optionally filtered by resource types and ABAC settings.

Inputs

  • userPermissionsUser (required) — The user key to get permissions for
  • resourceTypes (required) — Comma-separated list of resource types to filter by
  • enableAbac — Whether to enable ABAC user permissions

Output shape

The Permit.io API response representing the user's permissions, emitted on the node's main output.

If resourceTypes is provided, it is split by comma and trimmed into an array; otherwise passed as undefined. The node's execute method calls the PermitApiClient's getUserPermissions method with the extracted arguments.

Discussion