• 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 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. – user4947 Jul 16 at 19:43
  • Do you use account teams or opportunity teams? – Kris Goncalves Jul 16 at 19:47
  • yes we use Opportunity teams. – user4947 Jul 16 at 19:58
  • Is there a permission set that grants Modify All on opportunity? – David Cheng Jul 18 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.

| improve this answer | |

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.