How to set user permissions on custom doctypes for multiple companies

Good day guys.
I have created two companies on erpnext; Baumiester and Greenby. I want to set user permissions for system users on custom doctypes so that each user access doctypes for the company, he or she belongs. I really need your help guys. i have a challenge going about it. kindly look at the similar case below


Go to User → User Permission -->Click on Add User Permission

Select User, Select Allow - Company and in For Value - select respective company you want to give access.

Untick the Apply to All Document Types and Select your Custom Doctype in Applicable For:

Thank you bro