- Issue created by @nojj
- π©πͺGermany jurgenhaas Gottmadingen
What exactly are you looking for? The commerce license is a content entity, and all events, conditions and actions for content entities can be applied to license entities as well. Or is there anything else that you're referring to? Would be helpful to get more details.
I am trying to use commerce license to sell roles and commerce license access control β to sell access to single content nodes.
with eca commerce, I would like to react, if a customer wants to add another while having an already running license.
e.g. user has a running license for a role that grants access to all nodes of a specific content type.
and tries to add a license for access to a single node of the same content type.I just did not get how to achieve that with current possibilities.
If a license is required to view the node (i.e. an "access denied" would be shown if you don't have a license), could you simply use the "Entity: is accessible" condition from the ECA Content submodule in ECA?
In other words,
load the node into a token ββEntity: is accessible?ββ> (if yes) react