I’m trying the Multenancy feature with @TenantId, in discriminator mode.
The thing is: Hibernate isn’t putting the tenant id on updates and deletes, it just works on selects and inserts.
This way, if I send an update to a record that doesn’t belong to my allowed tenant for me , I can update the record without worry.
Is there a way to avoid it? |
|