-
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
What to Expect from Dreamforce 2024: Salesforce AI and Future Technologies
Dreamforce 2024 is rapidly approaching, and excitement is at an all-time high. Dreamforce, held in San Francisco, USA, is the main gathering place for tech…
An Introduction to Salesforce Lightning Bolt Solution
Lightning Bolt Solution An incredible new framework for faster deployment of next-generation communities and portals. Lightning Bolt for Salesforce enables you to quickly build and…
Importance of performance in Salesforce development
While you can develop and publish your .NET applications using the Microsoft Azure cloud platform - the thing is, these applications would still be being…
Popular Salesforce Videos
Salesforce For Beginners | Introduction To Salesforce | Salesforce CRM Development Tutorials
In this video, BeginIT provides an introduction to Salesforce, including its difference from legacy CRM systems. And also, BeginIT explains the procedure to create an…
Dynamic Forms in Salesforce
Hello Everyone, in this video, we will talk about what the dynamic form is and how to work with the dynamic form in Salesforce. Watch…
What are Apps in Salesforce?
Apps in Salesforce are Service, Marketing, Content, Salesforce Chatter, Service Console, Salesforce CMS, Test, Sales, Salesforce Scheduler Setup, Community, Sales Console, Lightning Usage App, Bolt…