Regards Scott
HotWax Media http://www.hotwaxmedia.com On 26/10/2009, at 8:43 PM, Abdullah Shaikh wrote:
Hi All, Any thoughts on this ? Jacques, should I proceed with the overriding service patch ? On Fri, Oct 23, 2009 at 6:21 PM, Abdullah Shaikh < abdullah.sha...@viithiisys.com> wrote:Yes, I guess maybe this is the only solution for this, should I submit the overriding service patch for this or should I wait for some more ideas topour in for this ? On Fri, Oct 23, 2009 at 6:09 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote:Abdullah,Yes, overriding the service without permission check only for ecommerceuse seems the better choise IMO Jacques From: "Abdullah Shaikh" <abdullah.sha...@viithiisys.com>If I cancel an order item from ecommerce. I get, the below error displayedon the page. The Following Errors Occurred: Unable to cancel order line : WSCO11640 / 00001 / nullNote to test this you need to take the latest update of apply this patchhttps://issues.apache.org/jira/browse/OFBIZ-2408.Below is the error trace from console, this error is because the party (customer) doesn't have the ORDERMGR_CREATE or ORDERMGR_ADMIN permission, but we can't give this permission to a customer, further as the commonservice is called from ecommerce and order manager for cancel, the solutionwill be to check the party's role, if its a CUSTOMER, then I guess we can use the SYSTEM user in place of the PARTY(CUSTOMER), for this we need togive ORDERMGR permission to the SYSTEM user.But then it will seem as if the SYSTEM user has cancelled the order andnot the CUSTOMER ?Another solution will be to override the service without permission checkonly for ecommerce use.
smime.p7s
Description: S/MIME cryptographic signature