
The question is - why does the EDIT button appear? The fact that it is there confuses the user into thinking they can in fact edit. Does Salesforce then 'defer' on figuring out if the user actually can edit until they try to do so?
1 respuesta
Dean,
The Visibility of the buttons are controlled via the Profile level, so the user's profile is giving the permission to show the button on the layout. Whereas when the actual edit happens up the OWD gets into picture it actually checks the Owner, Hierarchy and other aspects of it.
The fact that the button exist is because the user can edit there owned records. I agree Salesforce could have defined the architecture by hiding the button on the records that user doesn't own (if they do not have access), but it is more complex than what we can actually think.
I am not sure if I was able to get to the point WHY the button is visible but I hope it helped to some extent.
PS: If you would like to understand more about the Security aspect in salesforce you could watch the 'WHO SEES WHAT' series for salesforce on youtube.