-
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
Introduction of Visualforce in Salesforce
About Visualforce locally on the Lightning stage. The Visualforce structure incorporates a tag-based markup language, like HTML, and a lot of server-side "standard controllers" that…
Maximize Efficiency and Revenue with Professional Salesforce Development Services
In today's competitive business environment, maximizing efficiency and revenue is paramount for any organization looking to thrive. One key strategy to achieve this is through…
Lightning Platform Mobile for Mobile App Development with Salesforce
Mobile has always had an effective and transformational impact on companies. But unfortunately, many companies face trouble delivering an intuitive user experience as a customer…
Popular Salesforce Videos
Displaying Field Values with Visualforce | Salesforce Video Tutorial
In this video, Rakesh Soni shows us how to display Field Values with Visualforce. This is a great video for anyone who wants to learn…
Sankey Diagram in Salesforce
A Sankey diagram is a visualization used to depict a flow from one set of values to another. The things being connected are called nodes…
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…