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

# Check permissions

> Validate session and inspect effective permissions for debugging.

# Check permissions

Validate session and inspect effective permissions for debugging.

## Prerequisites

* Valid session or machine JWT

## Steps

<Steps>
  <Step title="Validate session">
    ```bash theme={null}
    curl -sS "$FLUIDE_BASE_URL/api/v1/auth/me" \
      -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
      -H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
      -H "X-Fluide-Client-Id: fluide-developer"
    ```

    Inspect `orgMemberRole` and permissions in the response. See [RBAC](/auth/rbac).
  </Step>
</Steps>

## Related

<CardGroup cols={2}>
  <Card title="rbac" href="/auth/rbac" />
</CardGroup>
