Hi, We have Isis-Security module as an addon which provides multi-tenancy feature. Presently multi-tenancy as I understand is with respect to associating an user to a tenant and assigning roles and permissions. "*Each user can be associated with a particular tenancy, and Isis can then be configured such that they cannot access data in other tenancies*"
As for data, multi-tenancy is achieved via following ways, 1) Have a separate schema per tenant and have the tables created within the schema and refer to it as (for example) *tenant1_schema.table1* 2) Have a separate database assigned to a tenant and keep all the data in that DB. 3) Store all data in one table and have a tenant id discriminator. Include the discriminator in the query framework after resolving a tenant add the where clause to each query (For example) Select * from Table1 where tenantId = 'tenant1' As for Apache Isis how can I support Option 1 and Option 2 in the current framework?