Different Role for Substitute User Than Actual User

Dear Team,
How i create a customize screen permission for substitute user like:
User A has substitute rights of user B.
But my concern is that how i set specific rights of user B for A not all rights of B

Could you explain the problem in more detail?