Allow changes to unpublished nodes without revision moderation

mrthumpz - February 18, 2009 - 15:31
Project:Revision Moderation
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Editing an unpublished node creates a revision, shouldn't it just edit the first version if still unpublished?

Flow:
Content type has 'create new revision' and 'new revisions in moderation' checked 'published' is unchecked
Anonymous user creates node
Anonymous user edits the same node, which creates a new revision.

Am I mistaken, or should this just edit the original node, and not create a new revision if still unpublished?

Is this a limitation of the module because it needs at least one revision?

#1

anrikun - February 25, 2009 - 09:01

Subscribing

#2

mrthumpz - March 18, 2009 - 18:46
Title:Editing an unpublished node creates a revision, shouldn't it just edit the first version if still unpublished?» Allow changes to unpublished nodes without revision moderation
Category:bug report» feature request
Status:active» needs review

I have create a patch for this functionality.

This patch adds a checkbox in the Revision Moderation settings which will allow changes to unpublished nodes without revision moderation.

If checked, unpublished nodes will create a revision, but they will not enter the revision moderation process, similar to what an admin or someone with 'administer nodes' would encounter. The node remains unpublished, it is simply not a pending moderation.

#3

mrthumpz - March 18, 2009 - 18:48

disregard this post

AttachmentSize
376301-2.patch 0 bytes

#4

mrthumpz - March 18, 2009 - 18:49
AttachmentSize
376301-2.patch 1.73 KB
 
 

Drupal is a registered trademark of Dries Buytaert.