-
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 Salesforce Integration Enhances Organizational Efficiency
In today’s technology-driven world, many organizations depend on at least one mission-critical system or tool. And one of the most popular names among them is…
Salesforce Org Control Access: Who can access and What to access
Salesforce gives an adaptable, layered information-sharing structure that permits you to uncover various informational indexes to various arrangements of clients, so clients can carry out…
Campaigns In Salesforce - All You Need to Know
What is a Salesforce Campaign? A Salesforce Campaign is a collection of Leads and Contacts who have been exposed to a certain marketing message(s). It…
Popular Salesforce Videos
5 Strategies to Get a Salesforce Job with No Experience
If you have questions like how to jump start your Salesforce career as a freshers? Or what should be your approach to start Salesforce career?…
How Users Set Up Einstein Activity Capture | Salesforce Tutorial
Say goodbye to busy work. Say hello to smarter selling. When you connect your email and calendar to Salesforce with Einstein Activity Capture, their email…
How to Create Bulk Custom Fields in Salesforce using BOFC App | Salesforce | BOFC | AppExchange
Want to perform multiple operations? This quick video walks you through how to create mass custom fields of any type (Master Detail, Lookup, Formula, Primitive…