Logged In: YES
user_id=1152353

I got the same error message trying to use the "mail"
features of the grufspaces folder.

I tried to modify the file

GrufSpaces/skins/grufspaces/validate_GroupSpace_email.vpy

in which the error occurs, adding this

from Products.GrufSpaces.global_symbols import
GroupSpace_sendMailPermission

but then I have the message that I don't have the permission
to access the page :x (instead of the error message).

I think there might be a way to import this symbol properly
but I'm quite new to grufspaces and I can't guess ... :(

below the original file without any change :

--
## Controller Script Python "validate_GroupSpace_email"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind state=state
##bind subpath=traverse_subpath
##parameters=emailbody=''
##title=validates that the emailbody is not empty
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.')
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
--

I hope somebody will help and resolve this cause it's a nice
feature that definitely needs to be working ! :)

Best regards,

hehe2