Delegation in DAML

In DAML Is it possible to delegate all current and future on-ledger rights to another party in a single contract without changing DAML Model?

Hi @Nishchal_Vashisht. You can generally delegate rights to other parties with DAML contracts. This delegation needs to be encoded in the DAML model upfront, for example by using Role contracts.

To expand a bit on what @dsrk said: You can delegate rights for a given template but you cannot delegate rights for all possible templates that might be added in the future.

You could achieve this by giving out a specific authorization token that provides full actAs and readAs claims for another party. Keep in mind that this delegation would then live in your IAM system rather than in DAML itself, and having these separate mechanisms might not be desirable.

1 Like