Loading

Error 'Insufficient Privileges' when you try to delete records

Дата публикации: Oct 13, 2022
Описание

The ability to delete records in Salesforce is controlled by the role hierarchy. Setting a sharing model to "Public Read/Write" alone does not give users the permissions to delete other users' records.

Решение
 

There are three scenarios in which a User can delete a record:

  1. The User trying to delete the record is the owner.
  2. The User is higher than the owner in the owner's role hierarchy.
  3. The User trying to delete the record has the 'Modify All' permission.

Any other User trying to delete a record will receive an 'Insufficient Privileges' error.

Users below you in the role hierarchy may have read/write privileges via sharing model rules. However, they may not delete records owned by individuals above them in the hierarchy.


See also
User Role Hierarchy

Considerations for Deactivating Users
Object Permissions
Who Sees What: Record Access Via Roles

Номер статьи базы знаний

000385525

 
Загрузка
Salesforce Help | Article