Closed (won't fix)
Project:
Revision Moderation
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2007 at 11:43 UTC
Updated:
21 Dec 2008 at 01:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
toemaz commentedHi John, a nice and simple patch. Can you explain a possible use case for this behaviour?
One thing I was wondering about, perhaps you should make this behaviour optional. So, create a setting for this. I can think of several use cases which wouldn't want this kind of functionality.
Comment #2
john morahan commentedThis is how I would expect an "edit revision" link (i.e. the one in the drupal_set_message) to work when I'm viewing a specific revision. If not, then what's it there for? If you want to edit your latest revision, you can just use the edit tab as usual.
The use case is when you want to make a new version based on an existing pending revision, other than the latest, without first publishing that revision.
I agree though that it would probably be more useful as an optional setting. I'll try to have a look at this later.
Comment #3
toemaz commentedSure, you're right about that. Perhaps it should be optional for the revisions-edit link to be displayed (enabled) or not. So I do agree your patch is implementing the right behavior. You have my vote on this.
Comment #4
john morahan commentedThis version adds a new permission 'edit revisions', users without this permission don't see the "edit revision" links and can't access the node/.../revisions/.../edit forms.
Comment #5
john morahan commentedNote that if you go to node/.../edit you are shown the latest revision, and if you have access you also see an 'edit this revision' link pointing to a different revision (the current published revision). However, this problem goes away if you also apply the fix from this issue.
Comment #6
add1sun commentedThis seems to work as expected in D5 and D6. Closing this as won't fix since D4.7 isn't supported.