Create two Companies i.e A & B [multi-company setup]
Invite Admin user A & B and attach user A with Company A, User B with Company B
Admin users can only see data related to their company
Admin User of Company A can invite other users within the same company. Invited users should automatically be mapped to Company A
Admin User of Company B can invite users e.g User X who are associated with Company B.
(User X might have Role A in Company A and Role B in Company B)
Please let me know if it’s possible to achieve this using ERPNext V15.
ejaaz
October 12, 2024, 6:40pm
2
You can assign multiple company accesses to a user via User Permissions.
https://docs.erpnext.com/docs/user/manual/en/user-permissions
So, I have created User A with user permissions restricted to Company A, but he is able to see all the users for other Sister companies. And even when User A wants to invite anyone, it’s not mapped to Company A.
How Can I solve this?
ejaaz
October 13, 2024, 5:23am
4
Try checking this checkbox when you are assigning permissions.
It will hide Child company
It was already unchecked. I am using v15.37.0. Still this user can other companies users
ejaaz
October 13, 2024, 5:30am
6
@ashishpathak
Sorry, I mean check this checkbox, my bad.
Edited my previous response
Same issue. Not sure why user segregation based on company is a difficult task in a multi-company erpnext setup.