Skip to content

aragonosx:grant

Grant a permission on the DAO or one of its plugins to an entity, optionally gated by a condition contract.

aragonosx:grant <permission> <on> <where> <to> <who>
NameTypeDescription
permissionpermissionPermission name (e.g. EXECUTE) or bytes32 id
oncommandKeyword on
wherepluginTarget: dao, a plugin identifier, or an address
tocommandKeyword to
whoaddressAddress receiving the permission (or ANY_ENTITY)
NameTypeDescription
--conditionaddressPermissionCondition contract gating the permission
# Allow an address to create token-voting proposals
aragonosx:connect 0x2222222222222222222222222222222222222222 (
aragonosx:propose multisig --approve true (
aragonosx:grant CREATE_PROPOSAL on token-voting to 0xc125218F4Df091eE40624784caF7F47B9738086f
)
)