Hi,
i just recently made an example project that deals with different types of “reference data” (GitHub - mariodavid/cuba-example-temporal-reference-data: CUBA platform example that shows different possibilities for reference data together with temporal validity). In the example i have certain base classes for entities (like ReferenceEntity) which are @MappedSuperclasses. I added constraints in the access group definitions, that will e.g. only show entries that are tied to the current tenant. Here’s an example on such a access group constraint
Entity Name: Order
Where Clause: {E}.tenant = :session$tenant
But there are several other Entities that also have the same constraints. Actually it will be all Subclasses of TenantEntity that have this exact constraint.
Here’s my question: Would it be possible to extend the constraint possibility so that i can select the MappedSuperclasss TenantEntity in the constraint editor, so that the constraint will be effect all subclasses as well?
That would be great!
Bye,
Mario