Using today's CVS with the drupal head, I have three roles, anon, authorized and author, with the spam permissions set to give the authors rights to administer in the spam module; viewing the comment, the author user sees the link to set the message as spam, but clicking on that link gives an error of Access Denied; the user did have permission to delete the comment (so they did).

there were no watchdog messages.

CommentFileSizeAuthor
#1 spam.module_1.patch1.9 KBjeremy

Comments

jeremy’s picture

StatusFileSize
new1.9 KB

When reporting bugs, please use the release version with a release version of Drupal. That is, it is currently best to download the 4.5 version of the spam module and use it with the 4.5.x version of Drupal. Using the CVS version of the module with the CVS version of Drupal may frequently not work, and you will receive limited support.

In any case, this bug was a typo in the spam module's _menu hook. Fix applied to 4.5 and cvs versions. The fix is also attached as a patch.

Anonymous’s picture