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
Mohammed AyyubMohammed Ayyub 

We can create Opportunity from Customer Portal!!!!!

Hi Everybody,

While going through a prototype and anlysis, I got a strange behavoiur that a User with Customer Portal license can create Opportunity. It is abnormal because this user is Owner of such Opportunity that he can never access.
  • Now, if i am following this assumption then what will be other issues?
  • Is it possible that creation of an Opportunity from portal may stop?
Thanks,
Ayub Grazitti
(www.grazitti.com)
bob_buzzardbob_buzzard
I've seen this happen with a few license types in the past, especially when the activity is carried out by an extension or custom controller as they run in system mode.  I've never relied on behaviour that should not be allowed by the license, on the assumption that Salesforce may plug the loophole at any point in time, at which point my code will start failing and I may not be able to fix it, ever.