Skip to content

Commit

Permalink
feat: beautify table, marking the function's names and constant ids a…
Browse files Browse the repository at this point in the history
…s code and hiding link urls
  • Loading branch information
clauBv23 committed Jun 6, 2024
1 parent 9ac0002 commit 12c7c11
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/advanced/dao/02-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ sidebar_position: 2

The following functions in the DAO are permissioned:

| Functions | Permission Identifier | Description |
| --- | --- | --- |
| grant, grantWithCondition, revoke | ROOT_PERMISSION_ID | Required to manage permissions of the DAO and associated plugins. |
| execute | EXECUTE_PERMISSION_ID | Required to execute arbitrary actions. |
| _authorizeUpgrade | UPGRADE_DAO_PERMISSION_ID | Required to upgrade the DAO (via the https://eips.ethereum.org/EIPS/eip-1822). |
| setMetadata | SET_METADATA_PERMISSION_ID | Required to set the DAO’s metadata and https://eips.ethereum.org/EIPS/eip-4824. |
| setTrustedForwarder | SET_TRUSTED_FORWARDER_PERMISSION_ID | Required to set the DAO’s trusted forwarder for meta transactions. |
| registerStandardCallback | REGISTER_STANDARD_CALLBACK_PERMISSION_ID | Required to register a standard callback for an https://eips.ethereum.org/EIPS/eip-165 interface ID. |
| Functions | Permission Identifier | Description |
| --------------------------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| `grant`, `grantWithCondition`, `revoke` | `ROOT_PERMISSION_ID` | Required to manage permissions of the DAO and associated plugins. |
| `execute` | `EXECUTE_PERMISSION_ID` | Required to execute arbitrary actions. |
| `_authorizeUpgrade` | `UPGRADE_DAO_PERMISSION_ID` | Required to upgrade the DAO (via the [UUPS](https://eips.ethereum.org/EIPS/eip-1822)). |
| `setMetadata` | `SET_METADATA_PERMISSION_ID` | Required to set the DAO’s metadata and [DAOstar.one DAO URI](https://eips.ethereum.org/EIPS/eip-4824). |
| `setTrustedForwarder` | `SET_TRUSTED_FORWARDER_PERMISSION_ID` | Required to set the DAO’s trusted forwarder for meta transactions. |
| `registerStandardCallback` | `REGISTER_STANDARD_CALLBACK_PERMISSION_ID` | Required to register a standard callback for an [ERC-165](https://eips.ethereum.org/EIPS/eip-165) interface ID. |

Plugins installed on the DAO might introduce other permissions and associated permission identifiers. This additional permissions are specified by the plugin itself.
Plugins installed on the DAO might introduce other permissions and associated permission identifiers, these additional permissions are specified by the plugin itself.

0 comments on commit 12c7c11

Please sign in to comment.