I am trying to use standard Opportunity Team Member functionality and it doesn't seem to match the documentation.
I have the following sharing model
account: public read/write
opportunity: private
To add an opportunity team member it appears that the user needs to be the owner of the account (or a sys admin) rather than just the owner of the opportunity. From the docs:
Only members with read access to the associated account can be added to the opportunity team unless you have the “Modify All Data” permission or are the account owner or above the account owner in the role hierarchy. Adding Opportunity Team Members
Since accounts are public read/write every user already has read access to the account but this is what seems to be causing the issue.
Attribution to: Greg Grinberg
Possible Suggestion/Solution #1
I don't have exp on this, but: reading the FAQ it says:
You can't use opportunity teams for private opportunities
Maybe change the global rule for opptys would solve this?
I also don't think you need to be the account owner, you just need to be the account owner, or higher in the role hierarchy for that account.
Owner of opportunity record, or above owner in your organization's role hierarchy
Attribution to: Saariko
Possible Suggestion/Solution #2
Initially, there was a bug in Winter '13 that would only allow the Account Owner to add members to Opportunity Team. This was listed on the Known Issues site (http://success.salesforce.com/issues_view?id=a1p30000000SU3hAAG) but should have been fixed since about two weeks.
Please give it another try and I think you will be happily surprised. :)
Attribution to: JLiljegren__c
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1618