-
Insufficient access right to user error while accessing email attachments in Salesforce
I am facing Insufficient access right to user error while trying to access email attachments through programmatic backend code. This is working fine for System Administrator group however, for any other profiles we are getting this error despite giving those profiles full access to Case object. Other profiles are able to access cases and case attachments but they are NOT able to access email attachments attached to cases.
It seems Salesforce treats email attachments different than case attachments and accessing email attachments through programmatic backend code may require additional or specific permission. As a workaround, we followed below mentioned steps to give “MODIFY ALL DATA” permission to intended profile. However, this is NOT ideal solution and hence wanted to check why Salesforce is treating Case Attachments and Email Attachments on Cases differently and what’s the best way to resolve this issue.
- click on SET-UP link
- search PROFILE in QUICK-SEARCH box
- go to the profile which you want to give permission.
- click on EDIT button.
- go to Administrative Permissions section and select MODIFY ALL DATA checkbox
- now click on SAVE button
Log In to reply.
Popular Salesforce Blogs

Some Common Differences in Salesforce
Let's have a look on some specific common differences that are mostly used on day to day work in Salesforce. 1. Data Loader Vs Data…

How Can a Salesforce Certification Accelerate Your Career?
The field of Cloud Computing is vast and ever-changing, with technological developments and breakthrough applications coming thick and fast. The range and scope of opportunities…

Choosing the Right Cloud Consulting Company: A Decision-Making Guide
Do you wish to leverage cloud technologies or want to migrate your business to the cloud? If so, you are making a great choice! Cloud…
Popular Salesforce Videos
Marc Benioff talks Salesforce - AT&T deal, office health safety and online media regulation
Salesforce’s Customer 360 will enable AT&T to deliver highly-tailored customer experiences seamlessly across retail, marketing, online, business, and more. AT&T will utilize Salesforce’s entire portfolio…
Dynamic Report Charts & Customer 360 View in Salesforce - Learn Salesforce Series By Algoworks
In this video, the following points will be covered - 1. Introduction Introduction to conventional setup for Customer 360. 2. Prerequisites Setting up a base…
Salesforce Workbench | Salesforce Tutorial Video
In this video, we show you how to use Salesforce Workbench to set a user password. This can be useful when you have a user…