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.

⚗️ Experimental — available at next.evmcrispr.com.

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

aragonosx:grant <permission> <on> <where> <to> <who>
NameTypeEvaluationDescription
permissionpermissionBuild timePermission name (e.g. EXECUTE) or bytes32 id
oncommandBuild timeKeyword on
wherepluginBuild timeTarget: dao, a plugin identifier, or an address
tocommandBuild timeKeyword to
whoaddressRuntime in smart blocksAddress receiving the permission (or ANY_ENTITY)
NameTypeEvaluationDescription
--conditionaddressRuntime in smart blocksPermissionCondition 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
)
)