Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Delegation in DAMLForum ↗

Delegation in DAML

App Development4 posts395 views1 likesLast activity Jun 2020
NI
Nishchal_VashishtOP
Jun 2020

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?

DR
drsk
Jun 2020

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.

CO
cocreature
Jun 2020

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.

GE
georg
Jun 2020

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.

← Back to Discussions