Print this page

Why do I get an 'Insufficient privileges' error when trying to delete records?

Knowledge Article Number 000005672
Description Why do I get an "Insufficient privileges" error when trying to delete records?
Resolution 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 right to delete others records. There are 2 scenarios in which a user can delete a record:

1. The user attempting to delete the record is a System Administrator.

2. The user attempting to delete the record is the owner, or higher on the role hierarchy than the record owner.

Any other user that attempts to delete a record will receive an "Insufficient Privilege" error message.

Those below you on the role hierarchy may have read/write privileges according to the sharing model rules, however, they may not delete information from those individuals above them in that hierarchy.

Note: If a user is assigned a profile that has "Modify All" on a particular object, then the user will be able to delete any record in that object. System administrator profile has "Modify all Data" giving them the privilege to delete any record in any object




promote demote