-
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
Which Steps To Follow to Level up your Salesforce DevOps Maturity?
It is high-time that tech companies transform themselves digitally. This can be done only when companies adopt leading cloud platforms that are present in the…
Intriguing Features and Channels on Salesforce+
Earlier this year Salesforce introduced Salesforce+ that includes Live experiences, original series, podcasts, and other content that are all part of Salesforce+. Salesforce+ will illuminate…
Popular Salesforce Videos
Reason to Switch the Job | Future of Salesforce Job Market | Christopher A Hopper
Here is the Glimpse of Conversation with Christopher A Hopper on the topic "Reason to Switch the Job". This is the very first episode of…
How To Create Workflow Rules In Salesforce | Salesforce Workflow Rules
This video walks through the steps to create a Workflow Rule within the Process Automation section of Lightning Settings in Salesforce. Get answers to the…
Salesforce Winter '21 Highlights
Even in these unprecedented times when the world is struggling with a major pandemic that has brought everything to a standstill, Salesforce has strived hard…