• The OWD setting on Opportunity is Public Read Only
  • Permission on Opportunity for User Profile is: Create, Edit, Delete, Read, View All.
  • No permission to Modify All
  • Sharing Rules are not defined for this object.

I though the above settings only allow the record owner and any one above in hierarchy to record owner the ability to edit records. However, all users can edit Opportunity records not owned by them.

What am i missing to allow only the Owners and the managers of the record owners to edit the record. ?

  • How are users editing records? Through visualforce/LWC, API calls, or something else? Are the edits being made by code executed from a trigger, or through a workflow field update?
    – Derek F
    Jul 16 '20 at 17:04
  • Manually , by clicking on the record, and changing field values. eg open any opportunity (not owned by the user), change a field value. Jul 16 '20 at 19:43
  • Do you use account teams or opportunity teams? Jul 16 '20 at 19:47
  • yes we use Opportunity teams. Jul 16 '20 at 19:58
  • Is there a permission set that grants Modify All on opportunity? Jul 18 '20 at 17:06

Closing the card. I am able to only allow only owners and anyone above in role hierarchy to owner to edit records. Not sure why my test failed, but I changed and re-changed the 'Public Read Only' flag on sharing settings, and that seemed to have worked for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.