implement access control for viewing/accessing 'contact the author' link
stella - March 20, 2007 - 15:30
| Project: | Contact Link |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
Hi,
I would really like to see a "view 'contact the author' link" access level. I have enabled the contactlink module on my site, but only wish for the 'Contact the author' link to appear on nodes for authenticated users. All non-authenticated users would have to register or login before being able to contact users on the site.
I would also like to be able to change the 'contact the author' text without having to edit the code.
Cheers,
Stella

#1
Please make sure you are using the latest dev release. Anonymous users cannot use Drupal's built in per user contact form, please see . I'll try to get your request to change the link code in before making a '1.0' release.
#2
Contact module (access site-wide contact form) provides option for access control for anonymous user.
Darly
#3
This module does not use the site-wide contact form, but each users personal contact form. If you'd like to see a feature using the site-wide contact form (such as display that for anonymous users) please file a feature request, or post here. Thanks!
#4
I don't think a permission for accessing the contact link is a good idea, I've looked into this, and enabling anonymous users to send mail through a site is a rather large issue and outside the scope of this module. Making a permission to 'allow user to see contact the author link' then would be problematic, as it may imply that assigning the permission to anonymous users would allow them to see the link, when in fact it would never work.
I'm not going to won't fix this yet, but it is definitely needing more info, and is currently postponed.