Problems with permissions for user contact form

alexis - December 2, 2006 - 01:15
Project:Drupal
Version:7.x-dev
Component:contact.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

Hi, older versions of Drupal allowed anonymous users to send messages to other users using the user contact form, if enabled by that user.

The latest version of Drupal 5 (beta 2) is not allowing it and I've seen on contact.module contact_menu() there's access = $user->uid for $items[] = array('path' => "user/". arg(1) ."/contact", I tried removing it, disabling and enabling the module but still not working.

How can user contact forms work for anonymous users?

#1

RobRoy - December 2, 2006 - 01:44

You would set 'access' => TRUE to allow it for all users. This should user_access('contact users') or whatever instead. Maybe a patch is in order.

#2

ricabrantes - February 29, 2008 - 11:51
Version:5.x-dev» 7.x-dev

This bug still active in D7.x-dev..

AttachmentSize
untitled.JPG141.59 KB

#3

webernet - February 29, 2008 - 14:17
Status:active» by design

User contact forms are not available to anonymous users to help prevent spam.

There is an open issue to allow it though. Feel free to continue there.

 
 

Drupal is a registered trademark of Dries Buytaert.