content_moderator dosen't work
| Project: | Content Moderator |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
My case is:
Drupal 4.7.2
taxonomy_access
content_moderator
I need to use taxonomy_access to design precise permissions of forums.
I want to give the user (A) permissions to edit/delete/moderate nodes of a specific type (e.g. story) - OR nodes of specific taxonomy- and to give the user (B) the same permissions but on another type (e.g. page), so each user see and moderate ONLY his privileged node type (or node taxonomy).
Both user (A) and (B) have a role (in /admin/access) in which the permission "moderate nodes" of content_moderator.module is granted.
Since I'm the admin I can see "in moderation" nodes in the area admin/node, but neither user (A) nor (B) see any "in moderation" nodes in the area admin/content_moderator, even me!
I tried to disable taxonomy_access, but in vain.
Any help? Is content_moderator is ready now for production websites?
TIA

#1
This module is mostly derived from node.moule's code to produce the admin/node page, so it should work. One important difference it that my module trys to respect access control settings. Can your users see the nodes in moderation if you go directly to the page (i.e. node/x)? Do those pages show up at /tracker for those users? Please provide more details.
It sounds to me as though some setting in TAC is not correct. However, I'll try to do some testing in a couple days to insure the call to sql_rewrite() is working as expected.
#2
I am unable to reporiduce the problem you describe on a small test site with taxonomy_access and content_moderator both installed. The test site is running Drupal 4.7 CVS (2006-07-15). Please submit more details on how to reproduce this problem or i'll close the issue.
#3
I think the only more detail is that when I, the site admin.., trying to filter nodes by "in moderation" in admin/content_moderator I get nothing, while it's work as expected in the page admin/node. Dose moderate_content allow moderators to see only the new nodes of the TYPE they are allowed to see? Or, of the TERM (taxonomy) they are allowed? In the second case, isn't taxonomy_access necessary? I hope I had a better understanding of the module function.
Thank you.
#4
Most of the code is actually just copied from the code that generates the admin/node page, so it should work. The only difference is the inclusion of db_rewrite_sql() so that access control is respected. I have not seen any problems on a copy of my live site (with TAC) or on a test site (using TAC).
Users viewing the admin/content_moderator should be able to see all nodes listed that would see is any other node listing. Are you sure your priveledged users can see this content normally (i.e. in the forum listings)?
Have you had any other access contol modules installed?
What happens if you just try to pull up a listing of the nodes in question on a page with PHP code that uses db_sql_rewrite? Here's a really easy snippet to try: http://drupal.org/node/59112
#5
Also, please provide full details on you derver, PHP, and databse versions. I've been testing with Apache 1.3, PHP 4.4, MySQL 4.1
#6
I'm closing this issue since I haven't been able to reproduce the problem, nor get enough information about how I might go about reproducing it.