-
Is it possible to grant delete permission using apex managed sharing?
I have Custom_Object__c with:
Org-Wide Default Settings as: Private
Object Permissions in the user Profile: Create, Read, Edit, Delete.
I have a small development in Apex that is creating some apex managed sharing rules, to give certain users access to records they don't own. So far I only needed to give the users either "Read" or "Edit" permissions. So all worked ok.However, now I need to grant users delete permissions for records they don't own. Without touching profile nor org-wide default settings. This would mean creating the apex managed sharing rules with accessLevel = 'All'.
I looked into the documentation, it seems to say that it's not possible to do that.
Log In to reply.
Popular Salesforce Blogs
Migrating to Salesforce: Key Steps for a Seamless Transition
Migrating to Salesforce can transform how your business operates. Whether you're looking to streamline your sales process, improve customer service, or better analyze your data,…
What is Salesforce Journey Builder?
For any CRM customer, life cycle management is the top priority. It is through the insights from the customer lifecycle; a company is able to…
Salesforce CPQ Implementation Guide: Tips and Challenges
Salesforce has been one of the reputed CRMs offering valuable data and assisting companies in handling their business better. Salesforce is now focusing more on…
Popular Salesforce Videos
Integrate Salesforce and Active Directory Step by Step
The prospect of implementing Single Sign-on in your Salesforce org can seem daunting if you are unfamiliar with the process. In this live step-by-step demo…
How Admins Can Improve Salesforce Data Quality
Learn how to diagnose the accuracy of your data and build a plan to maintain and enhance its’ quality using Salesforce tools. Follow along to…
After Triggers | Trigger in Salesforce - Part 2
In this video, we are going to look into - After Trigger with Example, Our Scenario is - For After Insert Whenever my account record…