Multi-Company Access Control

  1. Create two Companies i.e A & B [multi-company setup]
  2. Invite Admin user A & B and attach user A with Company A, User B with Company B
  3. Admin users can only see data related to their company
  4. Admin User of Company A can invite other users within the same company. Invited users should automatically be mapped to Company A
  5. 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.

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?


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

@ashishpathak
Sorry, I mean check this checkbox, my bad. :sweat_smile:
Edited my previous response :sweat_smile:

Same issue. Not sure why user segregation based on company is a difficult task in a multi-company erpnext setup.