Got the below issue when trying to create a custom entity record with custom Security role,
Error:
User does not have privilege to act on behalf another user
Resolution:
Given Privilege, Act on Behalf of Another User Under Business Management in custom security role.