[wp-hackers] New Members - "May submit drafts for review" and delete them?

Ryan Boren ryan at boren.nu
Thu Mar 17 01:37:35 GMT 2005


On Wed, 2005-03-16 at 20:19 -0500, Mark Jaquith wrote:
> Ryan Boren wrote:
> 
> >I think users with draft-only permissions (level 1) should not be
> >allowed to touch published posts in any way.
> >
> Ryan, you made the change in SVN so that they can't edit the posts, but 
> the "Edit" link still persists in edit.php and the "Delete" link 
> persists, and works, as Jeff noted.

Patch attached to prevent edit/delete.

> Have you thought of some way that users could be allowed to submit a 
> revision without modifying the original post?  I was thinking of having 
> a new draft be created in the database with a "revision_of" value 
> pointing back to the original post.  If the admin approves the revision, 
> the contents of the revision overwrite the old post and the temporary 
> revision draft is discarded.  This has the benefit of allowing the 
> original post to stay live and as it was originally approved by the 
> admin until a revision is approved.  Heck, if we wanted to get REALLY 
> fancy, we could highlight in green added text, highlight in red deleted 
> text... so the admin can easily see what was changed in the revision.
> 
> Yeah, I know.  But I can dream.

Editorial workflow and post revisioning are good items to discuss, but
not for 1.5.x.  Let's establish what is "good enough" for 1.5.1 and then
broaden the discussion to what we would like to do for the next big
release.

Ryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_can_edit.diff
Type: text/x-patch
Size: 1287 bytes
Desc: not available
Url : http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050317/cfaf0a6c/user_can_edit.bin


More information about the wp-hackers mailing list