I would like to use this module to moderate revisions on my Drupal 5.7 site. I am using the 'modr8' to moderate my new posts and that is working great. However, I have enabled revision moderation and updated a Page 'content type' to use the following 3 permissions, 'Create new revision', 'In moderation queue' (modr8), 'New revisions in moderation' as the default. I have a basic role 'contributor' which does *not* have 'administer nodes' privileges.
Unfortunately, when my 'contributor' role edits a page, the page is immediately updated and does not do into revision moderation.
Can anyone help? Is there a patch for 5.7 to make the revision moderation module work?
As a side note, I have tried this with both the 'Exempt administrator...' setting on and off - I think I remember reading some post above about that setting. Neither way helped moderate my 'contributor' role revisions.
FYI - I accidentally posted this same issue against Drupal 5.7 and later realized that I had not posted it here as an issue against the revision moderation module. That issue is http://drupal.org/node/114822.
Also, I have just upgraded to the 1.x-dev release from the 1.0 release but this made no difference. Is there still a patch needed for Drupal 5.7 to get this module working?
Comments
Comment #1
FredJones commentedI am seeing the same behavior using Drupal 5.7 and latest versions of Revision Moderation and Modr8 modules.
Comment #2
just_an_old_punk commentedI have found a somewhat usable workaround/solution to this...
The revision moderation module supplies an add-in to the workflow-ng module that provides 3 additional actions. One of these is "enable revision moderation". So, by writing a workflow-ng rule to detect when new content comes out of moderation, you can then 'enable revision moderation'. And the revision moderation module takes care of future edits. I still haven't completed my rule for this detection yet, turning revision moderation on after new content is created is too early. In that any Edits made by the Author or administrator before moderation approval occurs will be handled by revision moderation not the modr8 moderation... I probably need to write a custom PHP/SQL function that checks the nodes moderation ($node->moderation) value. Supplying these sorts of functions from the modr8 module would be nice, I may look at tacking on some custom workflow-ng actions to the modr8 module as the revision moderation module does.
Comment #3
Pushkar Gaikwad commentedyep not working in 5.7
Subscribe :)
Comment #4
just_an_old_punk commentedYou'll need to customize these but here is an export a workflow-ng rule that helps integrated modr8 and revision_moderation modules. I do not claim (or believe) that this is a complete solution. Here is what it does, how it works and what it doesn't do:
What it does:
Assumptions
How it works:
The "New revisions in moderation" flag is turned on by calling a new workflow-ng function/action, provided by the revision_moderation module (I don't know what version this became available but the most recent for Drupal 5.x/5.7 has it).
What it doesn't do:
You may already see the current shortcoming, when a post is placed in the modr8 queue the "New revisions in moderation" flag has already been enabled on the first version. If your moderator or author goes and edits the post before it is "approved" by the modr8 module AND the user doing the editing does not turn off the "Create new revision" flag (in my case most do not have permissions to do this), then you will have 2 pending posts. The first revision in the modr8 queue and the second revision in the revision_moderation queue.
The workaround is to turn off the "Create new revision" flag. Unfortunately I'd have to give the users the "administer nodes" permission for them to be able to access the flag and that is not going to be possible for all users, maybe just a select group.
For now I am willing to live with this because I am running a very small site and the handful of times this situation may occur is perfectly acceptable to me (I'm the one who has to deal with the 2 versions anyway - I just approve the first then publish the 2nd or if I'm the one performing the edit, I turn off the "Create new revision" flag.)
Rules configurations for workflow-ng:
Add enable revision moderation to new content
Notify moderators of new revision to an article
Hope it is useful to someone!
Comment #5
add1sun commentedRevisions are moderated for me in D5.10 now. Is this still a problem for others?
Comment #6
add1sun commentedNo response in a month. Closing as fixed now.
Comment #7
sourabh.iitm commentedI also faced the same problem in drupal 5.12. But i got it fixed.
The problem for me was content access module
Initially i gave editing permission using content access module for revision moderation and it was not working at all but now i am using drupal's default access control for a specific content type for a specific role and it is working for me. I am still using content access module but i have given permission for editing a specific content type using drupals default access control for specific roles.
content access module : http://drupal.org/project/content_access
Tell me if it is helping anyone else!!