Limiting the number of components for new tenant

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Limiting the number of components for new tenant

Nikhil Bonte
Hello everyone,


When I am creating a new tenant and loading seed, seed-initial data, all
the available component functionalities are available for the new
tenant. I want to load only a few components (such as for example
accounting, party, product and order) for the new tenant. I noticed that
there are a few tables such as Component and TenantComponent in the
tenant database.

I have tried the gradlew loadTenant task and specified the specific
components, however, when I login into the new tenant, I am able to see
all the components. Also the table TenantComponent is empty. Can someone
guide me on how to restrict the components for a new tenant?


--
Thanks & Regards,
Nikhil Bonte.
vnnogile Solutions Private Limited

Reply | Threaded
Open this post in threaded view
|

Re: Limiting the number of components for new tenant

Arun Patidar-2
Hi Nikhil,

This is not supported currently. Below is the initial implementation
thought to achieve your requirement:

- Prepare manual data of TenantComponent as per your need.
- You can override components info of ComponentConfig.webappInfos by using
TenantComponent entity details whenever system switch to Tenant delegator.
Refer ContextFilter.java

Let me know if you have any concern.


--
Thanks & Regards
---
Arun Patidar
Manager,Enterprise Software Development
HotWax Mediawww.hotwaxsystems.com


On Mon, Jan 16, 2017 at 12:41 PM, Nikhil Bonte <[hidden email]>
wrote:

> Hello everyone,
>
>
> When I am creating a new tenant and loading seed, seed-initial data, all
> the available component functionalities are available for the new tenant. I
> want to load only a few components (such as for example accounting, party,
> product and order) for the new tenant. I noticed that there are a few
> tables such as Component and TenantComponent in the tenant database.
>
> I have tried the gradlew loadTenant task and specified the specific
> components, however, when I login into the new tenant, I am able to see all
> the components. Also the table TenantComponent is empty. Can someone guide
> me on how to restrict the components for a new tenant?
>
>
> --
> Thanks & Regards,
> Nikhil Bonte.
> vnnogile Solutions Private Limited
>
>