Andy,
Your post suggests commenting out a few lines of code, that I understand is
checking whether the user has the right or not to send email to the group. But,
as I said in the reply thread, I am not receiving this error.
Is this a bug in the product? Or only a feature not yet implemented?
Best regards,
Gusti.
Andy Koch escribió:
> Gusti Gonzalez wrote:
>
>> I get the above mentioned error, right after filling out the "Write an
>> email to
>> the group" message box, and pressing the "save" button.
>>
>> The GrufSpace folder has a group assigned to it, where all members of
>> the group
>> have an email defined. Users and groups are in LDAP.
>>
>> I did not find any documentation and/or thread where this topic (of
>> sending
>> email to GrufSpace members) is discussed.
>>
>> Any help will be appreciated.
>>
>> Best regards,
>>
>> Gusti.
>>
>> My environment:
>>
>> Zope Version (Zope 2.8.4-final, python 2.3.5, linux2)
>> Python Version 2.3.5 (#2, May 4 2005, 08:51:39) [GCC 3.3.5 (Debian
>> 1:3.3.5-12)]
>> System Platform linux2
>> SOFTWARE_HOME /infra/bin/zope/lib/python
>> ZOPE_HOME /infra/bin/zope
>> INSTANCE_HOME /infra/portal
>> CLIENT_HOME /infra/portal/var
>> Network Services ZServer.HTTPServer.zhttp_server (Port: 8081)
>>
>> Products
>>
>> CMFPlone (Installed product CMFPlone (2.1.2))
>> GrufSpaces (Installed product GrufSpaces (0.6))
>> LDAPUserFolder (Installed product LDAPUserFolder (2.6))
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> I had the same problem, I think, it was a while ago that I dealt with it..
>
> But I had to customize the file validate_GroupSpace_email.vpy as follows...
>
>
> #from Products.CMFCore.utils import getToolByName
> #mtool = getToolByName(context, 'portal_membership')
> #if not mtool.checkPermission(GroupSpace_sendMailPermission, context):
> # return state.set(status='failure', portal_status_message='You are
> #not allowed to send a mail to the GroupSpace.')
>
> context.plone_log("validator data: %s" % emailbody)
> if emailbody.strip()=="":
> state.setError('emailbody', 'Please enter a message to send',
> 'emailbody_required')
> if state.getErrors():
> return state.set(status='failure', portal_status_message='Please
> correct the indicated errors.')
> else:
> return state
>
>
> ............
> basically I commented out the mtool.checkPermission business, and I
> think that should get it working
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|