From: "Jacques Le Roux" <[EMAIL PROTECTED]>
From: "Jacques Le Roux" <[EMAIL PROTECTED]>
From: "Sharan-F" <[EMAIL PROTECTED]>
For your issue – you'll need to look at what the default security group is
used for a customer that signs up on line (I couldnt see an entry in Party
Manager – so I suspect its somewhere in the code.....) and then add one (or
both) of these permissions to it.

It's not my issue but OFBiz demo issue (it should work OOTB). This was working before... I must admit, I did not find a generic way to deal with it for now. ACCTG_PREF_VIEW permission should be set for DemoCustomer (or rather END_USER_CUSTOMER group) but I'm not quite sure of how to do that. Any help would be appreciated...

I think I should temporarily set the userLogin to admin when calling 
getPartyAccountingPreferences service from
OrderReturnServices.xml#createReturnHeader(and after back  to previous 
setting). I will try that...

Fixed in trunk revision 684546

Jacques

Thanks

Jacques

Hope this helps.

Thanks
Sharan


jacques.le.roux wrote:

From https://localhost:8443/ecommerce/control/requestReturn I get

The Following Errors Occurred:

ERROR: Could not complete the Create a ReturnHeader
[file:/D:/workspace/ofbizRun/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml#createReturnHeader]
process [problem invoking the [getPartyAccountingPreferences] service with
the map named [partyAccountingPreferencesCallMap] containing
[[organizationPartyId=Company,
userLogin=[GenericEntity:UserLogin][createdStamp,2008-07-11
21:20:17.05(java.sql.Timestamp)][createdTxStamp,2008-07-11
21:20:16.921(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2008-07-11
21:20:38.61(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-11
21:20:38.125(java.sql.Timestamp)][partyId,DemoCustomer(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,DemoCustomer(java.lang.String)],
locale=en_US]]: Security Error: To run getPartyAccountingPreferences you
must have the one of the following permissions: ACCTG_PREF_VIEW,
ACCTG_PREF_ADMIN]

I think we should still autorise this case

Jacques



--
View this message in context:
http://www.nabble.com/Permission-in-%22Return-Selected-Item%28s%29%22-from-eCommerce-tp18679685p18843583.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






Reply via email to