IP restriction behavior in case organization switch is enabled

IP restriction behavior in case organization switch is enabled

Hi Team.

As we know that we can restrict the login into LSQ based on IP you can refer to the article for more insights->https://help.leadsquared.com/restriction-using-ip-whitelisting/
However, if the account which is IP restricted has a child account i.e, the organization switch feature is enabled then below will be the behavior. 

Suppose we have two accounts A (Parent account) B (Child account).

Info
Case-1
IP restriction enabled in parent account i.e. Account A. 

In that case if user is connected to the allowed IP then user can switch to account B as well as to Account A. However, if the user is connected to account A and switched to Account B and while in account B user changes the network, then user will be automatically logged out if he/she will try to switch back to account A.

Info
Case-2
If IP restriction is enabled in child account i.e Account B,
In that case automatically the organization switch will be disabled and will no longer work for any other account.