-
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

How to Import Reports From Salesforce Sales Cloud Into Marketing Cloud Using Imports
In Salesforce Marketing cloud we can import data into the marketing cloud in two ways using imports : Objects and Reports Here I will explain…

Salesforce Lightning Bolt: Create Gen-next Portals At Lightning Speed
Ever since the launch of Community Cloud in the year 2013 it has received overwhelming responses from business ranging from small startups to big enterprises.…

How Variable Types Operate in the Lightning Component Framework
When writing a component or application, you can set an attribute to have a specific type. But how is the type being used by Aura,…
Popular Salesforce Videos
Salesforce Admin Freelancing - $32,000 in 1 Month - Learn How You Can Do It
I made $32,000 last month, working only 20 hours per week. I want to show you how to do the exact same thing! Pricing increases…
Lightning Component Development - 01 - Basic of Lightning Framework, Component Bundle, App Builder
What is covered in this session? * What is Lightning Component Framework? * Lightning Component Across Salesforce Ecosystem * When to use lightning component? * Where…
How Leadership Skills Helps to Shape Your Career? | Salesforce Learning
Leadership is an important skill to have because a good leader is able to bring out the best abilities in his/her team members and motivate…