Posts

Showing posts with the label CustomPermissionDependency

Salesforce Fact #550 | CustomPermissionDependency

Image
Do you know there is an object in Salesforce named 'CustomPermissionDependency' which tracks the dependency among custom permissions. Using this object, we can track which custom permission is a required one while assigning another custom permission. In this example, we have two custom permission: 'Convert Leads' and 'Test Custom Permission'. We want to setup the dependency such that Test custom Permission is a required custom permission while assigning 'Convert Leads' custom permission. Reference:  https://developer.salesforce.com/docs/atlas.en-us.238.0.object_reference.meta/object_reference/sforce_api_objects_custompermissiondependency.htm Attached are the screenshots.