function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Users deleting others opportunity


I want to restrict so that people can not delete anyone else opportunity. Only the owner and admin's would be allowed to delete the opportunity.
How can I do this ? 

UC InnovationUC Innovation
Hi AcctMgt,

If you want users to still have read access, then just set the OWD (Organization Wide Defaults) to public read only. If you want users to only see their own opportunities, then set the OWD to private.

Here's some documentation regarding OWDs: