There is a contradiction between definition where

partyCommunicationEventPermissionCheck" main-action="UPDATE"/> is used

<service name="createCommunicationEventRole" engine="simple"
       location="org/ofbiz/party/communication/CommunicationEventServices.xml" 
invoke="createCommunicationEventRole" auth="true">
   <description>Create a Communication Event Role</description>
   <permission-service service-name="partyCommunicationEventPermissionCheck" 
main-action="UPDATE"/>
   <auto-attributes entity-name="CommunicationEventRole" include="pk" mode="IN" 
optional="false"/>
   <auto-attributes entity-name="CommunicationEventRole" include="nonpk" mode="IN" 
optional="true"/>
</service>

And a change done (r685581) in implemtation to allow everybody to use it

<entity-one entity-name="UserLogin" value-name="sysUserLogin">
   <field-map field-name="userLoginId" value="system"/>
</entity-one>

I guess we should change the definition...

Jacques


From: "Sneha Chaturvedi" <[EMAIL PROTECTED]>
Hello all,

I visited http://demo.hotwaxmedia.com/ecommerce/

Created a new profile
Went to contact us

but when i send the content I am getting error for permission.
so i think no permission is set for the user profile created through ecommerce. I think some implementation is missing in create profile section.
It shows me the error :

Security Error: To run createCommunicationEventRole you must have the one of the following permissions: PARTYMGR_UPDATE, PARTYMGR_ADMIN, PARTYMGR_CME_UPDATE, PARTYMGR_CME_ADMIN]

What should be done in this case.

Thanks in advance
--
Sneha





Reply via email to