-
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
Unlocking Excellence: The Benefits of Hiring Dedicated iOS Programmers
In the rapidly evolving world of mobile app development, having a dedicated iOS programmer can make a substantial difference in the success of your projects.…
How Salesforce CPQ Can Enhance the B2B Customer Experience?
A typical B2B buying experience is known to be complex and heavily layered. With a prolonged quoting process and the lack of personalization in billing…
Learn All About Salesforce Multi-Factor Authentication
Do you know the reason users are switching to iOS over Android? UI and UX are great. However, security is the primary reason. We live…
Popular Salesforce Videos
Strategy Design Pattern in Salesforce | Video Tutorial
Design Patterns are very important for us to understand to develop an efficient apex code. Watch this video to learn all about it and do…
2020 Salesforce App Builder Certification Questions Explained
The Salesforce Platform App Builder credential is designed for individuals who would like to demonstrate their skills and knowledge in designing, building, and deploying custom…
Batch Apex In Salesforce | Asynchronous Apex
Asynchronous Apex 1. Batch Apex 2. How to run Batch Apex class 3. Monitor Batch Apex class 4. Examples 5. Points To Remember Upcoming Video…