-
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
Mastering Salesforce Marketing Cloud: The Ultimate Guide for Salesforce Marketing Cloud Consultants
Introduction Businesses require strong marketing strategies in the digital era to survive in the cutthroat marketplace. Organizations can now build and carry out targeted, personalized…
Data Import in Salesforce - A Brief Guide
If you want to import any external data into Salesforce, you can perform this activity with the help of Data Import. Data import support .csv…
Understanding Salesforce Chatter and Its Implementation
Chatter is a place for collaboration in Salesforce where you can post chatter feeds, share files, create new events, and create interactive user polls. In…
Popular Salesforce Videos
Guided Selling with Salesforce CPQ
Do you know how to set up guided selling in Salesforce CPQ? In this demo video, we'll show you three easy steps to set up…
Salesforce Validation Rules - Keep your Data Clean
Watch this short video for just over 2 minutes and learn how to keep your Salesforce data clean? The answer is simple: Use field validation…
Salesforce Exam Dumps - Are They Worth It?
In this video, Brad discusses the unethical, yet common, practice of using Exam Dumps to pass a certification exam. These dumps are not only immoral,…