From: "Jacques Le Roux" <[EMAIL PROTECTED]>
Thanks Sharan,
I will have a look tomorrow
Jacques
From: "Sharan-F" <[EMAIL PROTECTED]>
Hi Jacques
I've come across this message too – when trying to 'Receive Payment' for a
Sales Order for a new party I've created. I've done some investigation and
this is what I found out.
'ACCTG_PREF_VIEW' and 'ACCTG_PREF_ADMIN' are missing from the
'SecurityPermission' data entity. This means that you cant add it to a
Security Group via the user interface.
Actually I saw that also and was asking for a change. As I got no answer I will
go for it.
Here's the interesting thing - these two securities do appear in the
'SecurityGroupPermission' data entity for security groups 'FULLADMIN' and
'POSCLERK' which is why admin never has any problems!
Actually in AccountingSecurityData.xml only ADMIN permission was used for
FULLADMIN.
I have added both SecurityPermissions and VIEW for BIZADMIN, ADMIN for
FULLADMIN in trunk revision 684494.
I had already added ADMIN permission for POSCLERK for the same reason some
months ago.
For me - I'm going to fix my issue by using Webtools to create them in the
'SecurityPermission entity' – then they should show up in the user interface
and be selectable.
If you update you will not have to do this anymore.
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...
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.