Internal templates? (templates/contracts that can only be created by other template choices?)

@cocreature building on this a bit further:

I am looking at triggers as a way to inspect the PoolMember Contract and generate rights based on that contract: My understanding is:

  1. Have to inspect the PoolMember
  2. lookup the Pool using the Key, derived by the data in the PoolMember (the signatory of the member is the “pool”)
  3. BUT how would you restrict the ability of other actors to crreate a pool and memberships but reference the same role-party? if they generated an equiv tree of contracts, the result would be adding the same party-role. If you create pool-specific party-roles this would potentially lead to massive number of parties? (down side to this?)

Thanks