Closed (works as designed)
Project:
Block anonymous links
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 21:42 UTC
Updated:
10 Jan 2011 at 10:51 UTC
Hi, it would be great if I can block certain untrusted roles from posting links too.
Comments
Comment #1
Flying Drupalist commentedif (!$user->uid || in_array('role', $user->roles)) {
Comment #3
pieterdcI'm reopening this issue because it isn't fixed in the module's official released code.
If you want the requested feature, you could manually patch as Flying Drupalist suggests.
Comment #4
pieterdcOr else, we'd need to provide a permission, such as "Bypass block anonymous links" which gets enabled be default for the "authenticated user" role... implement hook_permission, make an install file, implement it within the spam checking function - this is about it I think.
It would give you all the (role based configuration) flexibility needed.
Comment #5
pieterdcThe Spam module has such a permission, called 'bypass filters'.
You can use that module if you want this feature.
Ps: use a version more recent than December 26th, 2010.