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

# Permission Debugger | Analyze and Troubleshoot User Access

> Use the Permission Debugger to simulate permission checks, verify policies, and troubleshoot user access issues across roles, teams, and resources.

# Permission Debugger

The **Permission Debugger** allows administrators to analyze and debug user permissions across roles, teams, and policies. This feature is critical for troubleshooting access issues, verifying policy behavior, and ensuring users have the correct level of access.

## How It Works

The Permission Debugger simulates permission checks for a given user on a selected resource and operation. It provides detailed insight into:

* Which policies and rules were evaluated
* The final allow/deny decision
* Matching rule count
* Evaluation time

## How to Use the Permission Debugger

### 1. Select a User

First navigate to settings > Access Control > Permission Debugger
Use the input field to search for and select the user whose permissions you want to inspect.

![Select a User in Permission Debugger](https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/permission-debugger/permission1.png?fit=max\&auto=format\&n=qho-E1y9MslmzIeO\&q=85\&s=ef1beeec445c507c9aa34aca053fd965)

### 2. Define the Permission Check

* **Resource**: Select a resource type.
  * Options include: `user`, `team`, `table`, `database`, `glossary`, `tag`, `glossaryTerm`, `searchIndex`, `mlModel`, `container`, `topic`, `pipeline`, `dashboard`, `databaseSchema`

* **Operation**: Choose the operation to check against the selected resource.
  * Examples: `ViewAll`, `EditAll`, `Deploy`, `Trigger`, `Kill`, `GenerateToken`, `EditDomains`, and so on.

* **Resource FQN or ID (Optional)**: Provide a Fully Qualified Name (FQN) or unique ID of a specific resource if you want to debug at the resource instance level.

![Define the Permission Check](https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/permission-debugger/permission2.png?fit=max\&auto=format\&n=qho-E1y9MslmzIeO\&q=85\&s=c35f21c97b9a8bd718415d3b056463b4)

### 3. **Evaluate** Permission

Click the **Evaluate** button to perform the permission check.

![Evaluate Permission](https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/permission-debugger/permission3.png?fit=max\&auto=format\&n=qho-E1y9MslmzIeO\&q=85\&s=6a4090d986a62c0242be0f21a1908f19)

## Example 1: DENIED (EditAll on Table)

![Permission Debugger Example: DENIED](https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/permission-debugger/permission4.png?fit=max\&auto=format\&n=qho-E1y9MslmzIeO\&q=85\&s=9aa82810350ecb2379c6b2b229f487a1)

**User**: `prajwal.pp44`
**Resource**: `table`
**Operation**: `EditAll`
**Resource FQN**: `sample_data.ecommerce_db.shopify.dim_address_clean`

**Result**:

> **Decision: DENIED**
> User `prajwal.pp44` is **Denied** to perform `EditAll` on
> `table (sample_data.ecommerce_db.shopify.dim_address_clean)`

**Evaluation Summary**:

| Metric | Value |
| - | - |
| Policies Evaluated | 2 |
| Rules Evaluated | 1048 |
| Matching Rules | 0 |
| Allow Rules | 0 |
| Deny Rules | 0 |
| Time | 354ms |

## Example 2: ALLOWED (ViewAll on Table)

![Permission Debugger Example: ALLOWED](https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/permission-debugger/permission5.png?fit=max\&auto=format\&n=qho-E1y9MslmzIeO\&q=85\&s=2ba7065b313b2509925a2d4be74c3734)

This example demonstrates a **successful permission evaluation** for a user attempting to view a specific table resource using the `ViewAll` operation.

### 📄 Scenario

* **User**: `prajwal.pp44`
* **Resource**: `table`
* **Operation**: `ViewAll`
* **Resource FQN**: `sample_data.ecommerce_db.shopify.dim_address_clean`

### 🔍 Evaluation Result

> **Decision: ALLOWED**
> User `prajwal.pp44` is **Allowed** to perform `ViewAll` on
> `table (sample_data.ecommerce_db.shopify.dim_address_clean)`

### 📊 Evaluation Summary

| Detail | Value |
| - | - |
| **Policies Evaluated** | 2 |
| **Rules Evaluated** | 1048 |
| **Matching Rules** | 1046 |
| **Allow Rules** | 0 |
| **Deny Rules** | 0 |
| **Evaluation Time** | 363ms |

## Limitations

The **Resource** list includes the main data assets and the governance and access-control resources. Examples include `table`, `glossary`, `policy`, and `user`. It doesn't include the `testCase` and `testSuite` resources. To check a user's access to test cases or test suites, sign in as that user and try the action. For more information, see [Table Test Suites and Bundle Suites](https://docs.open-metadata.org/v2.1.x/how-to-guides/data-quality-observability/quality/adding-test-suites.md#table-test-suites-and-bundle-suites).

## Use Cases

* Debug permission issues for a specific user.
* Validate that newly created policies are functioning as expected.
* Understand why a user has or doesn't have access to specific resources.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.