At the Hyperledger Composer github, they give an example of a conditional ACL script with an optional transaction clause. In the example they provide, it's operations access to the asset owner and INITIATOR of the transaction.
rule SampleConditionalRuleWithTransaction { description: "Description of the ACL rule" participant(m): "org.example.SampleParticipant" operation: READ, CREATE, UPDATE resource(v): "org.example.SampleAsset" transaction(tx): "org.example.SampleTransaction" condition: (v.owner.getIdentifier() == m.getIdentifier()) action: ALLOW }
What if I want the 'recipient' of the transaction, to be given READ rights to the transaction initiator's assets? For example, a participant transaction that authorizes or revokes a regulators read rights to the transaction initiators (owner/participant's) assets.
Thanks for any help provided!