function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfDevelopersfDeveloper 

Access rules & Delete button

Hi,

I have 2 questions:

 

(1) Is there any way to disable the Delete button on the user interface ??

 

(2) The accounts in my Salesforce have "Public/Read" access rule. This access is assigned to the creator of the account. So when another user wants to view the account it only has read-access. However when a user wants to insert Notes, he can only do this when he is the creator of the account. When he is not, he can not edit anything. I'd like to make an exception for this concerning inserting Notes. But I'd like to do this without changing the access rule. How can I do this?

 

Thank you,

sfDeveloper

 

IspitaIspita
No use cannot hide it but conversely if on the person's profile you remove deletion rights , the button will not come for that profile or will not allow deleting on ckicking.
To your 2nd query try the following
Give all normal right but via a validation disallow editing if its not the owner of the record.
Thanks and regards,