-
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
Salesforce Trigger Example to count number of completed tasks in a single contact
Below is an example of how to use Salesforce Trigger to count number of completed tasks in a single contact trigger UpdateAccountNameFromContactLastName2 on Contact (before…
Increases in Governor Limits in SFDC Winter 17 Release.
With Winter 17 Release many Governor Limits have Increased.“You didn't see that coming?” 1. Salesforce Daily Org Limits for Sending Emails with the API Have…
The Future is Prompt: Salesforce Prompt Builder in 2025 and Beyond
The buzz around generative AI isn't fading; it's evolving, integrating deeper into our daily workflows. For Salesforce users, this evolution is epitomized by Prompt Builder,…
Popular Salesforce Videos
Introduction to Quip for Customer 360 | Salesforce
In Quip for Customer 360 Admin Foundations, you’ll be introduced to Quip for Customer 360 from the admin perspective. You will gain an understanding of…
Using Salesforce Einstein Prediction Builder
Make meaningful business predictions from your Salesforce data with just a few clicks, then use those predictions to make smarter business decisions and to power…
How to Create an Object in Salesforce Lightning Experience?
Salesforce has always emphasized on declarative development since the beginning. The motto is that enterprise software should be easy to use for customers. With “clicks…