I am having issues trying to allow users with the same profile and role to change ownership of records amongst themselves with leads. The lead object is set to private. Their profile has transfer leads
and transfer records
and create,read,edit,view all
permissions on the lead object.
So, when a user with the same profile and role accesses another user's lead record with the same role and profile and tries to change the ownership, it is giving an insufficient privileges error. Is the only way to allow the user to transfer the ownership thru apex code with a custom button using without sharing? I was hoping this could be done declaratively.