CMDBuild Forum

How is 'Multitenant' supposed to work?

On a new openmaint 3.2-2.0 I created a class Tenant and use it in the Multitenant setup. Now I create some multi and single tanant user. Unfortunately all users can see e.g. That’s clear because existing as well as new cards contain a ‘null’ value in the TenantId column.

What is the mechanism to fill this column.Is it a paid feature?

You must configure Multitenant mode in the Administration Module - System Config - Multitenant. Be careful and make a backup of the database because this configuration is not reversible.

That’s exactly what I did and at a first glance it works nicely (Multitenant users get their menu checkbox items ignore, tenant1, …).
But when it comes to creation of a new card the item (e.g. buidling) can be viewed by everyone. In the database the TenantId column is null. I would have expected that this column is filled with the actual tenant context.So everybody sees every item.

Found what I was looking for. It’s the never, always, mixed flag of cards.