Allow Access To Revisions

Makea - June 24, 2009 - 02:42
Project:view_unpublished
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dsantangelo
Status:needs review
Description

The only thing missing from the workflow would be for users to view the revisions for the current unpublished node.

Otherwise, this module's functionality really belongs in Drupal core.

#1

dsantangelo - August 30, 2009 - 20:03
Assigned to:Anonymous» dsantangelo
Status:active» needs work

Revisions would be a little more complicated -- I'm kind of ambivalent on its usefulness vs. amount of effort. If some more people roll in and say they want it too, maybe a different story... anyone?

#2

Justin W Freeman - October 18, 2009 - 22:44

This would be a great feature if it is possible.

Is there a chance this functionality might make it in?

#3

Justin W Freeman - October 19, 2009 - 04:34
Status:needs work» needs review

Here is a patch for views_unpublished with revision support.

I ran into problems while using this with the diff module and the revision moderation module so this patch also includes code to allow these modules to work together.

It could be done without the code relating to those modules but seeing as those modules have high usage it is probably best to keep it in.

It gives two new permissions for view unpublished revisions and revert unpublished revisions.
Instructions are included in the readme in case they're needed.

This patch also includes a few coding standards fixes.

The patch will apply to 5.x-1.x-dev and 5.x-1.0

AttachmentSize
view_unpublished_revisions_d5.patch 27.94 KB

#4

Justin W Freeman - October 19, 2009 - 04:35

I haven't looked into the d6 version but I'm sure this could be ported with out too much hassle if people want it.

#5

rooby - November 24, 2009 - 05:08

Here is a new version of the patch in #3 that dynamically assigns the modules weight on install.

AttachmentSize
view_unpublished_revisions_d5_2.patch 28.03 KB
 
 

Drupal is a registered trademark of Dries Buytaert.