Download & Extend

Create a new permission so that moderators don't require "administer nodes" permission

Project:Mollom
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

We have mollom enabled for forum node posts, which we want our forum moderators to be able to report. We don't want to give these moderators complete access to the site. At the moment, to report a post to mollom requires giving moderators the "administer nodes" permission.

Would you accept a patch that created a new permission "report to mollom and delete node"?

Thanks,

Comments

#1

Patch attached ... it's pretty simple, we just add a permission to view the "report to mollom" links. The actual report function handles the access checks.

AttachmentSizeStatusTest resultOperations
1890574_view_report_to_mollom_links.patch1.36 KBIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1890574_view_report_to_mollom_links.patch. Unable to apply patch. See the log in the details link for more information.View details | Re-test

#2

Status:active» needs review

#3

Status:needs review» needs work

The last submitted patch, 1890574_view_report_to_mollom_links.patch, failed testing.

#4

Status:needs work» closed (won't fix)

Sorry for the late reply. I had a look at the proposed patch.

The node/comment specific links are actually "discontinued" and End Of Life by now already. Instead, the Mollom module integrates with the delete confirmation forms of the respective entities to provide feedback options.

Thus, instead of introducing further user permissions, we actually want to decrease them: If you're able to delete an entity, then you're able to report it to Mollom. Not vice-versa.

The D7 version is more strict about this. Some of those links only still exist in D6, because Drupal 6 generally does not have any notion of an Entity API.

Thanks for your feedback!
sun