
The user opens up a doctor record and has it on the screen. The lookup field is displayed and it shows the name of the medical office. Now if the user hovers over the field or clicks on the link they get an Insufficient privileges error.
This is a security issue and I'm fine with that - no explanation needed. What I'm wondering though is why if the user does not have rights to the record does Salesforce show the record name in the lookup field. It seems to me that if the objective is to make the record inaccessible then it should not even appear in the lookup field. Having said that I guess I don't really know what Salesforce could do instead. It just seems that if the name of the medical office is visible then the implication is that the user can access the record yet that is blocked when they try to do so.
2 answers
Is it specific profiles you do not want to see the Medical Office field?
Maybe go to the Doctor Object and remove the Visible option to that lookup for that profile?