-
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
Scenarios Every Salesforce Certified CPQ Administrator Exam Candidates Should Know About
Salesforce CPQ often seems simple at first: configure, price, quote but it’s much more than that. The Salesforce Certified CPQ Administrator certification does a great…
4 Reasons to use AngularJS in Salesforce Visualforce pages
If you ask a web or mobile app developer why they use AngularJS their first reply would be because it’s awesome. And then they would…
Salesforce Coding Utility Chrome Extension
This is Salesforce coding utility Chrome extension. This is a very cool extension. I have made this for me and my friends. But after some…
Popular Salesforce Videos
What are Profiles and Permission Sets in Salesforce ? | Object Level Security in Salesforce
In this video, Shrey have explained complete Object Level Security in Salesforce which includes: 1. What is the significance of defining Object-level security in Salesforce?…
Add Styles and Data to a Salesforce Lightning Web Component
After completing this unit, you’ll be able to: Use CSS and Lightning Design System with a component. Get data from a Salesforce org. Deploy your…
Top 5 Features Salesforce Winter Release '21
Even though we're in the middle of one of the strangest summers in our lives, we can rely on one constant: releases from Salesforce. It's…