-
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
Triggers in Salesforce - Learn All You Need to Know
What is Apex Trigger? Apex Triggers are used to refer to triggers in Salesforce. These are different and are accessible for particular tasks such as…
Checklist to Hire the Best Certified Salesforce Developer for Business
Salesforce is a powerful Customer Relationship Management (CRM) platform that businesses—irrespective of the industry or domain leverage to manage their customer data and interactions. With…
All You Need to Know About Test Class in Salesforce
Test classes in Salesforce are a vital component of the Salesforce development process. These classes are used to test the functionality and effectiveness of Apex…
Popular Salesforce Videos
Salesforce CEO Marc Benioff on New Software to Help Businesses Reopen
Marc Benioff, founder, chairman and CEO of Salesforce, joins CNBC's Jim Cramer to discuss the company's new initiatives to help businesses reopen. Salesforce announced a…
How to use Cauzali in Salesforce Service/sales cloud and all of Salesforce industry clouds. Add functionality to your users with Cauzali
With a maximum price of $6.000 a year for your org. You and your colleague can make all the solutions you want including Community solutions.…
7 Tips To Choose The Right CRM For Your Business
A Customer Relationship Management (CRM) system can be overwhelming to choose from. You have so many options to choose from, each offering different tools and…