Topic: Multiple company access

I want to access multiple company by one user. Currently I need to different sign in for different company.
This is fine for user level. But for Admin level we need single login for multiple companies.

Re: Multiple company access

In Multiple Companies add same user say admin and same password say bangladesh

Now on login screen you just need to select the company from Drop Down.

www.boxygen.pk

Re: Multiple company access

I understand what you mean smile but I'm looking something different.
Like:-
after login there will be drop down. I think you understand me

Re: Multiple company access

Thats not possible currently in FA. you may need some modifications to achieve this but not recommended because it will hit the current $_SESSION settings.

www.boxygen.pk

Re: Multiple company access

Hey guys,

I have this feature in my themes like you can have separate page as master login.  There you can define the login companies for an user. With that. When an user logins. He can see the list of companies that he can access.  With that if he select another company from the drop down. That will make you to login to the selected company and you don't need to logout and login again.

Re: Multiple company access

An auto logout and login switch script at the top should suffice with no DB or any great UI changes. Auto generation of the new session - can also be mapped to the same username and password in each company allowed.

Security issue: what happens if a site administrator creates a new username to be same as that of another site administrator's company? That is why the username and password should match that of the currently logged in company user in each of the companies to be allowed for the user.

This method can also be used for brute force attacks by using a set of passwords after logging in as one valid user in one company.

Re: Multiple company access

kvvaradha wrote:

Hey guys,

I have this feature in my themes like you can have separate page as master login.  There you can define the login companies for an user. With that. When an user logins. He can see the list of companies that he can access.  With that if he select another company from the drop down. That will make you to login to the selected company and you don't need to logout and login again.

Could you please share your concept code ?

Re: Multiple company access

Hi kvvaradha,

Like kofil.orko, I am interested in having this feature too. It is important in my case that upon login, the user only sees the companies he has access to. I would really appreciate it if you can share your code. You mentioned it is available in your themes. What themes are these and how can we get them? Many thanks for any help you can extend to us, Best regards.

Re: Multiple company access

My themes Saai, LTE,  Vanigam has this feature. You can refer here at Saai theme Kvcodes

Re: Multiple company access

Hi there,

I developed the change of company without closing the session, I share my code with you.

At the same time, consider it for a new version of front accounting.

https://www.dropbox.com/s/tecxtscbyb8urb3/switch_company_fa.zip?dl=0

Regards.

Post's attachments

switch_company_fa.zip 11.3 kb, 1 downloads since 2020-08-20 

You don't have the permssions to download the attachments of this post.
cleal

Re: Multiple company access

Hi there,

I developed the change of company without closing the session, I share my code with you.

At the same time, consider it for a new version of front accounting.

https://www.dropbox.com/s/tecxtscbyb8urb3/switch_company_fa.zip?dl=0

The above code is not working. Please post working code.

12 (edited by cleal Yesterday 02:30:05 am)

Re: Multiple company access

I am using it with version 2.4.8 with the password encryption development (is riquired).

Link for password encryption info https://frontaccounting.com/punbb/viewtopic.php?id=8917

Tell me if you need help.

cleal