> For the complete documentation index, see [llms.txt](https://legacy-docs.aragon.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.aragon.org/developers/tools/aragon-connect/api-reference/permission.md).

# Permission

{% hint style="info" %}
A single permission that represents the relation between an app role and an entity.
{% endhint %}

## Properties

| Name             | Type          | Description                                                                                                                                                                                                                             |
| ---------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowed`        | `Boolean`     | Whether the entity is allowed for the permission.                                                                                                                                                                                       |
| `appAddress`     | `String`      | App address.                                                                                                                                                                                                                            |
| `granteeAddress` | `String`      | Entity address receiving the permission.                                                                                                                                                                                                |
| `params`         | `ParamData[]` | An array of ParamData. It contains the `argumentId`, `operationType` and `argumentValue` of each paramenter as described in [Parameter interpretation](/developers/tools/aragonos/reference-documentation.md#parameter-interpretation). |
| `roleHash`       | `String`      | Encoded identifier for the role.                                                                                                                                                                                                        |

## Methods

### getApp()

| Name    | Type  | Description                                    |
| ------- | ----- | ---------------------------------------------- |
| returns | `App` | App instance corresponding to the app address. |

### getRole()

| Name    | Type   | Description                                         |
| ------- | ------ | --------------------------------------------------- |
| returns | `Role` | Role instance corresponding to the role identifier. |
