-
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
How to Use Custom Settings in Salesforce | The Developer Guide
Custom Setting: Custom settings are like custom objects. Application engineers can make custom arrangements of information and partner custom information for an association, profile, or…
Salesforce Nonprofit Cloud: A Complete Guide for Nonprofits in 2025
Nonprofit organizations work tirelessly to create meaningful change, but they often face challenges like limited resources, scattered data, and complex donor management. In today’s digital-first…
Top7 Benefits of Using Salesforce CDP in 2023
Summer ’21 was the relaunch of Customer 360 Audience, which brought Salesforce CDP to the forefront. In previous articles, we explained what a CDP consists…
Popular Salesforce Videos
Soar: A Salesforce Philanthropy Film
When one of us is lifted up, all of us are lifted up. ? That's why we're supporting #GoGiveOne, a campaign to advance global vaccine…
Login Page Customization | Salesforce Video Tutorial
Learn how to customize your login page in Salesforce and create a better-branded experience on this platform. watch and learn. If you have any questions…
Record Triggered Flows with Real Time Scenarios | Salesforce Tutorial
In this video, you will understand 1. What is Record triggered flow? 2. How and when to use Record triggered flows? 3. Real-time scenarios 4.…