> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# All Permissions

> Refreshes the RBAC policy from the server, then returns a map of all permissions for the logged-in member in the form `Map<resourceId, Map<action, Boolean>>`.

## Returns

A map of `resourceId` to `Map<action, Boolean>` representing all permissions.

<RequestExample>
  ```js theme={null}
  const permissions = await StytchB2B.rbac.allPermissions()
  ```
</RequestExample>
