Not able to set multiple user permission for same user in V14 - (Message - User must be unique)

Recently deployed Version 14 on the cloud machine, I have created 3 companies on my site, and when I set the user permissions for one user the first time it allows me to set it, but when choosing the same user and setting another permission it does not allow me. The system shows this message ( user must be unique), even there is no check enabled for the unique user field.

Looking forward to the solution.

Just tested Okay in my version 14 system

ERPNext: v14.12.1 (version-14)
Frappe Framework: v14.22.1 (version-14)

Yes on the same server but on another site user permission module is working perfectly, I can create multiple user permissions for the same user.