Package Ownership
This guide outlines the role permission system used in Dappnode package management, powered by Aragon’s ACL (Access Control List) smart contracts. It explains how to check and modify roles such as permission managers and developers.
Whether you're assigning roles or verifying access, this doc walks you through each step clearly and effectively.
Roles 🎖️
For every package, there are three possible roles for any Ethereum address:
- Permission manager => The address that can grant or revoke developer permissions for other addresses. This role can be held by only one address.
- Developer => Addresses that are allowed to publish new versions of the package.
- Default / Standard => Addresses that do not have any permissions related to the package.
Dappnode's ACLs 🔐
Currently, granting or revoking developer permissions, or assigning a new permission manager, must be done through the respective smart contract ACL of the package repository.
In Aragon, the ACL (Access Control List) is a core smart contract that manages permissions. It determines which address (or entity) can call which function on which app (smart contract).
Dappnode's ACLs by package suffix:
- ACL
.public
=> See the SC in Etherscan - ACL
.dnp
=> See the SC in Etherscan
Actions 💪
The following outlines how to perform each possible action:
-
Check permission manager
-
Go to the
Read As Proxy
tab in the package's respective ACL -
Expand and provide the following arguments to the
getPermissionManager
function:-
_app => The address where the current version of the package is deployed
infoThis address can be found by typing the package ENS into Etherscan's Mainnet search bar.
-
role =>
0x0000000000000000000000000000000000000000000000000000000000000001
-
-
Click
Query
to retrieve the permission manager addressinfoBy default, the permission manager does not have publishing rights. After (or before) becoming the manager, the address must also be granted developer permissions if it intends to publish new versions.
-
-
Set a new permission manager
dangerThis action will revoke the current manager's permissions and assign management to a new address.
- Go to the
Write As Proxy
tab in the package's respective ACL - Connect with the current permission manager address (click
Connect to Web3
) - Expand and provide the following arguments to the
setPermissionManager
function:- _newManager => The address that will become the new permission manager
- _app => The address where the current version of the package is deployed
- role =>
0x0000000000000000000000000000000000000000000000000000000000000001
- Click
Write
and confirm the transaction
- Go to the
-
Grant publishing permissions to an address (developer):
- Go to the
Write As Proxy
tab in the package's respective ACL - Connect with the current permission manager address (click
Connect to Web3
) - Expand and provide the following arguments to the
grantPermission
function:- _entity => The address to be granted with developer permissions
- _app => The address where the current version of the package is deployed
- role =>
0x0000000000000000000000000000000000000000000000000000000000000001
- Click
Write
and confirm the transaction
- Go to the
-
Revoke publishing permissions from an address:
- Go to the
Write As Proxy
tab in the package's respective ACL - Connect with the current permission manager address (click
Connect to Web3
) - Expand and provide the following arguments to the
revokePermission
function:- _entity => The address to revoke developer permissions from
- _app => The address where the current version of the package is deployed
- role =>
0x0000000000000000000000000000000000000000000000000000000000000001
- Click
Write
and confirm the transaction
- Go to the
-
Check if an address is a developer (can publish new versions):
This is the only action that cannot be verified directly from the ACL smart contract.
-
Go to the smart contract address of the current package version
infoThis address can be found by typing the package ENS into Etherscan's Mainnet search bar.
-
Go to the
Contract
>Read As Proxy
tab -
Expand and provide the following arguments to the
canPerform
function:- _sender => The address to check
- role =>
0x0000000000000000000000000000000000000000000000000000000000000001
- params =>
[]
(an empty array)
-
Click
Query
to receive a boolean indicating permission
-
Package management UI ⚙️
Coming soon...👀