-
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
Grant Management System in Salesforce
Grant Management in Salesforce is a component of the non-profit-making Success Pack (NPSP), within which Salesforce grants 10 free licenses to any or all eligible…
5 Exclusive Reason of Hiring Salesforce Consulting Services to Get Instant Popularity Among Enterprises
Cloud computing systems that have a major influence on the field of online business have dominated the recent period. And Salesforce makes good use of…
Salesforce for Manufacturing to Optimize Productivity
The manufacturing sector has witnessed a complete, factory-wide digital makeover. The industries have leveraged technologies like artificial intelligence (AI), robotics, and blockchain. Salesforce for manufacturing…
Popular Salesforce Videos
MuleSoft Integration: GoToWebinar to Salesforce - Learn Salesforce Series
In this video, you will learn how to use MuleSoft integration platform to transfer attendees data from GoToWebinar to Salesforce- 1. Set up GoToWebinar account,…
Salesforce Lightning Web Component Crash Course | Learn LWC in 100 Minutes with Live Project
This is a crash course video on the Lightning Web Component framework where we will cover all fundamentals of LWC in just 100 minutes. This…
Using Salesforce Einstein Prediction Builder
Make meaningful business predictions from your Salesforce data with just a few clicks, then use those predictions to make smarter business decisions and to power…