I just felt a lot of shame due to a bad assumption.
If you're familiar with the Salesforce sharing model, when an object is set as private, you know that if you own an object, you can see it. If not, you can't. (Unless something else implicitly grants access like a hierarchy or sharing rule).
That works great. EXCEPT FOR ACTIVITIES!
Private activities don't really mean private. It means "If I can see the object an activity is attached to, I can see the activities, no matter who made them".
I made an assumption that activities worked as they work with other object, and obviously, I was wrong.
So, a few lessons to learn (and share) from this:
- If something is a pivitol part of a project, MAKE SURE it works the way you think it should.
- You'll never know everything about Salesforce, it's too big.
- Always have a plan B. In my case, Plan B is more work but we'll still meet our client's needs.
And, if you're feeling generous, please vote up this idea to make it work the way it should:
Have you made a bad assumption before? Would love to hear about it! - Garry