-
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 Customer Support: 5 Transformative Strategies with Salesforce Service Cloud
This blog draws upon our extensive experience in the pharmaceutical industry to unveil strategies with Salesforce Service Cloud that can be tailored to accommodate the…
How Salesforce Managed Services Can Optimize Your Sales Process?
Salesforce Managed Services allow you to outsource the management and support of your Salesforce implementation by a mediator or a third-party provider. The providers of…
How to Boost Salesforce Lead Generation Strategies Using Ads?
Nowadays, the real battle is in digital space. Businesses are transitioning their assets and strategies to cater to a broader market accessible via the Internet.…
Popular Salesforce Videos
Salesforce To Salesforce Integration Using REST API
Salesforce to Salesforce integration using REST API. In this video, you will learn how two Salesforce Orgs can be integrated using REST API. This tutorial…
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…
Salesforce Einstein Keynote: Meet Your Smart CRM Assistant
Salesforce Einstein is your smart CRM assistant, making your employees smarter and your customers happier. With Einstein, everyone has an AI-powered assistant to help them…