Assign HR rights to other sister company in ERPNext

I want to assign HR rights of Company A and self services rights to Company B of same user.
Is there any work around available for in ERPNext.