Root cause seems to have been that the trainer in question was not an owner. Process expectation was that all trainers have to be owners. I'll try to address this by:
only displaying owners on the add trainer selection
updating the read model to enforce this rule
Might later think about pushing this responsibility also into the resource to enable fast feedback if the command issued breaks this rule. For now taking the approach of making this unlikely by changing the UI.
Root cause seems to have been that the trainer in question was not an owner. Process expectation was that all trainers have to be owners. I'll try to address this by:
Might later think about pushing this responsibility also into the resource to enable fast feedback if the command issued breaks this rule. For now taking the approach of making this unlikely by changing the UI.