QuestionQ41

Declarative Sharing

Ursa Major Solar needs to stop users assigned to a Custom Sales Department Profile from deleting Opportunities.

What should an Architect do to meet this requirement?

  • A In the Object Permissions, remove the “Opportunity Delete” Permission from the User’s Profile
  • B Ensure a Validation Rule is created that checks the User’s Profile before allowing the IsDeleted flag to be set to True
  • C Override the Standard button with a Visualforce Page that warns them that they do NOT have permission to delete
  • D Ensure that the Delete button from the Opportunity Page Layout and Record Type settings is removed
Explanation

Opportunity deletion requires the Delete permission on the Opportunity object. Removing that object permission from the custom profile prevents its assigned users from deleting Opportunity records; hiding a button or displaying a warning does not enforce authorization.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!