Closed (fixed)
Project:
Revision Moderation
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2007 at 14:17 UTC
Updated:
5 Dec 2007 at 23:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
webchickYou could probably do this in the workflow/actions system. Let admins move things from pre-published to published in one step, and setup actions so when something gets moved to published, publish it.
Comment #2
webchickActually, this request has come up again, and in testing the 5.x port I agree this is a huge pain in the butt. ;)
So let's talk about this. We have a couple options:
a) Exempt people with 'node administrator' privileges from the revision moderation system.
b) Have revision_moderation define a 'bypass revision moderation' permission or something.
The advantage of b) is that this functionality could be switch off-able if you want *everyone* to have to jump through this hoop, admins included. On the other hand, people with a) can delete or edit any node in the whole system (and even switch off revision control entirely), so it probably makes sense to just trust them with editing revisions directly. :P
Thoughts?
Comment #3
mrtoner commentedIn my applications, option (a) would be preferable. I can't see any reason to force the node into moderation when a user with administrate nodes permission can then simply publish it.
Comment #4
webchickMy preference is a) as well. Unless someone can come up with a good reason for it to be b), that's what I'll implement (unless jimmygoon gets to it first :D)
Comment #5
jimmygoon commentedheh. having like 4 different threads in different areas is confusing.
What about this:
two tiers of permissions to assosciate with module:
"content approved without moderation" -- then you the admin would be allowed the permission and then you could have "editors" and check that role for them...
is that coherent? its really late... where is HEAD at anyway?
Comment #6
webchickI committed a fix for this (attached); the revision moderation logic now only executes for users who don't have administer nodes privileges.
Please test.
Comment #7
luti commentedYes, making a module useless... ;-)
I am the site administrator and am also creating almost all of the content. When working on some existing content changes for a few days, I'd find useful to have a possibility to keep the old content for visitors, until the new one is 100% ready. That module would be just fine for that, but with that patch, a new partially adapted (and, untested...) content is published immediately...
Is it really such a problem just to press "Publish" after you make all of the changes of a content (this probably takes much more time)?!
Or, implement this patch at least as an option, easy to switch off. I really hate to take care to revert this patch every time after an update to this module would be installed...
Comment #8
webchickHm. Ok, that's a use case for making it a setting. I'll make a separate issue for that.
Comment #9
marcoBauli commentedtryed today on 4.7 as soon as i got back to office and the fix works great! Thank you :)
Comment #10
(not verified) commentedComment #11
marcoBauli commentedreopening as does not seem to work anymore with the latest version (v 1.20.2.14 2007/02/20)
The working patch above was:
and in the latest version the same lines are changed to:
..might that be a clue? thx
Comment #12
marcoBauli commentedps: Drupal 4.7.2 here
Comment #13
webchickHm. Could you maybe clarify what you mean by 'does not work anymore' ? I just tried on a 4.7.6 install, and my admin user is exempt, and my 'peon' user gets revisions in moderation. Could you give me steps to reproduce your behaviour?
The addition of the variable check was in case people don't want _anyone_ to be exempt from posting. But the exemption is enabled by default.
Comment #14
marcoBauli commentedi got fooled by the fact that a new revision was created even if i was submitting content as 'admin'. But this is the normal behaviour if 'create new revision' workflow is checked!
sorry about that, works sweet :)
Comment #15
mrf commentedI know this is late in the game, but I have a use case for option b (Have revision_moderation define a 'bypass revision moderation' permission).
I have two roles with access to the same content type (a custom user profile). Faculty need to have their profile changes published immediately, Student's profiles should go into moderation. Faculty can't have administer nodes permission if I want to sleep at night.
I will be attempting to create a patch to add this option.
My question is, should this be enabled by default, or should there be another checkbox under 'Exempt administrators from revision moderation' for 'enable role based moderation bypass'
Comment #16
webchick@mrf: That sounds reasonable. Could you create a separate issue for "Allow moderation exemption by permission" and post a patch there? This issue is many months old.