Skip to main content

Role Grant

A role grant names which wallet may make a privileged call, and the access manager contract checks it on chain before the call runs.
Role Grant: one check before every privileged call.A privileged call is checked against the access manager's role grants, not a screen. hasRole runs at call time. A present role lets the call proceed. A missing or revoked one reverts it.Role Grant: one check before every privileged call.Portrait variant of the desktop figure. A privileged call is checked against the access manager's role grants, not a screen. hasRole runs at call time. A present role lets the call proceed. A missing or revoked one reverts it.

The access manager checks the caller's role grant on chain, not anything a screen shows, and a missing or revoked role makes the call revert with no change.

  • Role grants live in an access manager: the system access manager, a token's own access manager, or an add-on's access manager. Authority in one grants nothing in another.

  • Platform grants can target a participant across every managed wallet they hold and carry an optional expiry timestamp that triggers an automated revoke workflow.

  • Before any chain write, the platform blocks pairing Auditor with another system role and enforces enabled organisation segregation rules. Direct on-chain grants skip both checks.

Why a role grant matters

A role grant records on chain which wallet may mint, freeze, upgrade, or change compliance rules, and the access manager enforces it on every call. Five system roles govern only Platform API and Console actions without on-chain contract checks: Gas manager, Verification issuer, Asset designer, Bank rail manager, and Auditor.

Every post-issuance operation in Asset Lifecycle is gated by a role grant. Splitting duties across roles lets institutions separate asset design, minting, custody interventions, offering management, and read-only audit oversight.

To inspect who can move client holdings, read the access managers directly: Custodian and Supply management on each token, plus Identity manager (which directs wallet recovery) and System manager (which upgrades contract logic) on the system.

Who can do what, day to day

Console screens display human role labels while the API uses field names such as tokenManager (Asset manager) and admin (Permission manager). See Roles and segregation of duties for the full catalogue.

Each role owns a distinct scope: System manager handles bootstrap and upgrades, Identity manager manages holder identities and recovery, Organisation identity manager manages the organisation's own identity, Asset manager deploys tokens, and Verification issuer attaches claims (separate from trusted-issuer status). Gas manager configures the paymaster through the platform, while paymaster key rotation, staking, and withdrawals require System manager on chain.

A revoke takes effect as soon as its transaction confirms (or once indexed, for platform-only roles). It blocks subsequent calls and queued retries without signing the person out.

Two access managers, not one

Platform roles divide between two primary access managers (plus per-add-on access managers for trading venues and custody gateways), and grants never mirror across them:

System access manager

One upgradeable instance per organisation system, holding 15 platform-grantable system roles (plus Organisation identity manager and internal contract module roles). Its DEFAULT_ADMIN_ROLE chain administers system roles.

Token access manager

One proxy instance deployed per token, holding that token's seven asset roles (Permission manager, Governance, Supply management, Custodian, Emergency, Offering admin, and Funds manager). Its DEFAULT_ADMIN_ROLE administers every role directly.

During token deployment, the token factory temporarily holds DEFAULT_ADMIN_ROLE and Governance, then renounces both before handing over the token. When an organisation enables smart wallets, the organisation's own wallet receives system roles too (listed under the organisation's name rather than counted as a person).

Offering admin and Funds manager are token roles on the asset being sold, so granting them on an offering covers every offering of that token.

Add-ons such as trading venues deploy their own access managers (for example splitting venue operator from venue submitter). While on-chain contracts allow one address to hold both, enabling organisation segregation rules blocks that pairing through the platform.

A grant reaches every wallet of a person

Because a participant can own both a signing wallet and a smart wallet, platform role grants target the participant and apply across every wallet the organisation can drive for them. Single-address grants remain available for unmanaged wallets or targeted changes.

Because the access manager checks the executing wallet, a role held only on a signing wallet does not authorise smart-wallet execution. The Console flags mismatched wallets as “Out of sync” so a Permission manager can synchronise them.

Time-bound grants

Time-bound grants support temporary cover such as holiday Custodian duty or time-limited audits, accepting an expiry at least one minute ahead via the API (two minutes in the Console). When the expiry passes, a platform workflow submits the on-chain revoke. Asset role expiries also emit webhooks within 24 hours of expiry and upon revocation.

For an expiring asset role, the platform signs the revoke with the first managed wallet still holding DEFAULT_ADMIN_ROLE: the original granter, then another time-bound grant signer on that asset, then the organisation's operations signer. If none holds admin authority, the platform raises an operator alert and backs off until admin access is restored or someone revokes manually.

Before revoking, the platform checks the transaction queue for an in-flight grant of the same role to that account, deferring or withdrawing any unsubmitted revoke while that grant settles. Re-granting permanently or with a later timestamp replaces the earlier expiry.

A holder of a time-bound Permission manager role on a token cannot grant Permission manager through the platform, and the platform refuses any change that would leave a token with zero permanent Permission managers.

Expiring system roles are revoked by the organisation's operations signer, retrying for up to 24 hours on failure before stopping for manual intervention.

Roles of a person who leaves

On-chain roles survive account removal or banning, so the platform automatically revokes covered EVM roles whenever an owner removes a member or a platform administrator bans, closes, or deletes an account. See Manage a member and Platform users for the Console steps.

Removal and account deletion wait until all covered roles clear on chain (accounts with an on-chain identity can never be deleted). Bans and closures take effect immediately while revokes follow asynchronously.

Coverage spans all active, recovered, and archived EVM wallets linked to the person across the organisation's systems (or all organisations on a ban, closure, or delete). On a system shared by multiple organisations, member removal covers only the removing organisation's tokens and venues. If the person still belongs to another organisation on that system, removal lists those system and add-on roles as not-revocable with held-for-another-organization without revoking them or holding the removal back.

That other membership counts only while it lasts. If owners of two organisations on the same shared system remove the person simultaneously, the second removal waits for the first, sees the other membership gone, covers the system and add-on roles too, and returns like a single removal so the person never leaves both organisations while keeping those roles.

Revokes run under the removing owner's managed wallet (when it administers the asset or venue) or the organisation's operations signer, never the departing user's wallet, never another time-bound grant's signer and never a wallet on the system's role blocklist. A member removal takes a system role away only when the removing owner is a Permission manager on that system, through an unblocked wallet. Otherwise the role stays with permission-manager-required. A ban, closure or delete by a platform administrator takes system roles away under the operations signer.

A role on a wallet the role blocklist switches off is still held, so the platform takes it away like any other role. Pre-check routes (GET /api/v2/organizations/members/{userId}/roles and GET /api/v2/admin/users/{userId}/roles) list each role's state (revocable, revoking, or not-revocable), blocked: true for a role on a blocked wallet, and any reason for leaving it in place:

reason
What the platform found
What to do
shared-wallet
Another party shares the wallet (multisig, unknown smart-wallet controllers, or operations signer).
Coordinate with co-signers and revoke manually.
last-permanent-permission-manager
The role is the token's last permanent Permission manager.
Grant permanent Permission manager to another person, then retry.
last-system-administrator
The role is the system's last Permission manager.
Grant system Permission manager to another person, then retry.
no-dalp-administrator
No managed wallet allowed to sign this revoke administers the role.
Ask a holder of the role's administrator to revoke it.
no-automatic-revoke-path
Non-venue add-on role (such as custody gateway), unrecognised role, or system role without a recorded grant time.
Revoke manually on the custody gateway's Permissions tab.
revoke-failed
System-role revoke failed after 24 hours of retries.
Revoke manually in Roles and permissions.
held-for-another-organization
Role on a shared system's access manager or add-on where the person still belongs to another organisation on that system (removal only).
None for this removal. The person keeps the role until removed from that other organisation.
permission-manager-required
A system role, and the removing owner is not a Permission manager on that system (removal only).
Ask a system Permission manager to revoke it in Roles and permissions.

Retrying an offboarding request is safe: it schedules nothing new for a role whose revoke is still open, and re-plans a token or venue revoke that is waiting for its retry under the signer of the new request. Automated offboarding does not cover unlinked external wallets or Canton party rights, which must be checked and revoked manually.

Grants to a suspended person

The platform refuses to give a role to a wallet whose owner is suspended, closed or terminated in your organisation. Every platform route that grants a role checks this before it writes to chain: system, asset, offering, venue and custody gateway grants, invitations that carry a role, and recovery moves. The refusal is 409 Conflict with PARTICIPANT_SUSPENDED (DALP-253091), it names the wallet and its status, and nothing is written. A revoke from the same wallet still goes through. A status in another organisation does not count here.

A grant made directly on chain bypasses the platform. When the indexer records a new role on the wallet of a person suspended in your organisation, the platform switches that role off too, within about two minutes: it leaves the same waiting block a suspension leaves, for a Permission manager to confirm on Roles and permissions. A wallet already on the system's role block list stays blocked, and no second waiting block opens for it. See Change an account status.

Grants to a person who left

The platform also refuses to give a role to a wallet whose owner is leaving or has left your organisation: their offboard is completing, they are offboarded, or they are no longer a member. The same routes check this before they write to chain. The refusal is 409 Conflict with ROLE_GRANTEE_LEFT (DALP-271846), it names the wallet and the reason in data.granteeReason (offboard-completing, offboarded or not-a-member), and nothing is written. The transaction queue applies the same rule to every role write it accepts, including a grant inside a batch, so a grant that reaches the queue another way is refused there. A revoke or renounce is never refused. A wallet that no person holds is not affected. A member of another organisation who never held a seat in yours is not affected either, so a venue can still give its roles to a wallet of another organisation. A person your organisation removed is refused on every wallet they hold, also while they are a member of another organisation, until they hold a seat in yours again.

A grant the queue accepted before the person left still holds their offboard completion and their removal as a member until it lands, is cancelled or expires, so a role cannot arrive after they are gone. To give the person a role again, invite them back first: the grant is refused until they accept the invitation. An offboarded person also adds a new account.

Segregation of duties

Platform role-grant routes check every grant against the target wallet's existing roles before writing to chain. One rule always applies: no wallet may pair Auditor with any other platform-grantable system role. Organisations can also enable custom or default role pairs set to refuse or require a written reason.

Because segregation checks guard platform routes rather than contracts, direct on-chain grants bypass them. Use the role-conflicts report to audit live holdings. See Roles and segregation of duties and Roles and permissions.

Role changes need a Console sign-in

Role grants and revokes (system, asset, offering, venue, and custody gateway), trading venue creation (it can grant the venue admin role), fixed-yield withdrawals, and changes to supply delegates, hold reservers, converters or burners require a Console-issued session or an eligible API key. Investor portal, anonymous, or older pre-tracking sessions receive 403 Forbidden with WALLET_ROLE_ADMINISTRATION_NEEDS_CONSOLE_SIGN_IN (DALP-200384) before any change starts. Sign in to the Console and retry.

Checking a role before you rely on it

Every governed contract exposes accessManager() so integrations can query hasRole(role, account) directly for live chain truth, or read indexed access-control views for faster lookups that may trail the latest block. Sponsored calls always evaluate the real caller rather than the forwarder.

Every role identifier except DEFAULT_ADMIN_ROLE (the zero bytes value) is a named hash constant. Multi-role batch grants on the system access manager require DEFAULT_ADMIN_ROLE directly (stricter than single-role admin checks), whereas token access managers apply no extra gate.

To prevent locking out role administration, access managers that track DEFAULT_ADMIN_ROLE counts reject revoking or renouncing the last holder with LastAdminProtected. Uninitialised system access managers refuse admin changes (AdminCountNotInitialized) until seeded by DEFAULT_ADMIN_ROLE or System manager. A system access manager with a role block list also rejects a block, revoke or renounce that would leave no unblocked holder outside its exempt list, with LastUsableAdminProtected. The Platform API answers both refusals with “Cannot revoke the last system administrator”.

Token and add-on access managers also keep one more default administrator than their approval rules need, counted as people: two wallets of one person count once, and a blocked administrator does not count. A maker-checker rule with one approval needs two administrators, and while an approval rule covers the access manager's own role changes, a revoke or renounce that would leave fewer administrators than the rule needs is refused with TooFewAdmins. See Add-on approvals.

On-chain role, organisation role, delegated authority

Three permission layers stay strictly separate:

  • On-chain roles live in access managers and gate contract calls at execution time. Console buttons read indexed state and may briefly lag a recent revoke.
  • Organisation and platform roles (Owner, Member, Platform administrator) govern Console and API administration such as settings and member management, granting no contract authority on their own.
  • Delegated authority (Working as) selects which participant's wallet executes a call without adding any role to that wallet.

Frequently asked questions

Does a role apply to every asset, or to one?

Asset roles apply to one token's access manager, system roles apply across the organisation's system, and add-on roles apply to one add-on instance (such as a single trading venue).

What happens to work already underway when a role is revoked?

Transactions that already passed the access manager before the revoke confirm normally. Indexed role changes emit provisional events (access-control.role-revoked.provisional) and retract (access-control.role-revoked.retracted) if a chain reorganisation removes the block. Key consumer records by event ID, idempotency key, role, account, and access manager.

Who can upgrade the access manager contracts themselves?

DEFAULT_ADMIN_ROLE or System manager can upgrade the system access manager. Every token access manager proxy resolves its logic from the system contract, so System manager alone upgrades every token access manager, token implementation, add-on access manager, and custody gateway across the system. Restrict System manager and Permission manager to minimal accounts.

Who grants the very first role on a new deployment?

Deployment grants DEFAULT_ADMIN_ROLE to a fixed list of initial administrators on each access manager, who then grant all other roles. On a new token, the token factory holds DEFAULT_ADMIN_ROLE only during deployment and renounces it before handover.

Was this page helpful?