-
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 Lead Management: A Detailed Guide (2022)
The Salesforce lead status is an integral part of your business that can guide you to success with its strategies for effectively managing leads. Lead…
Azure with Salesforce for Customer Engagement and Operational Excellence
The retail landscape is in constant flux, driven by evolving customer expectations and disruptive technologies. Staying ahead requires more than just keeping up; it demands…
Salesforce Sandbox Types | What Does the Platform Offer You?
Having functional, friendly, and safe test environments is indispensable in any industry. You can be an administrator who needs to configure different options and add…
Popular Salesforce Videos
CEPTES’s successful visit to Dreamforce’17
Thank you all to those who visited CEPTES at Dreamforce’17. It had been a great event and CEPTES would like to offer gratitude to our…
How to Delete Multiple Contacts at Once | Salesforce Tutorial
Do you need to delete a bunch of records? Don't want to delete records one by one? This video shows you several ways to delete…
How to Get Jobs or Work Outside India | Salesforce Developer vs Cloud Professional
In this Video Shrey covered answers to the three questions which are: 1. How do you find a job in Salesforce as a fresher or…