edit-post lock and edit-template lock
Posted: 25 February 2007 04:23 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-25-2002

Is there any plan create feature, which prevent edit entry by any users, when the same entry is currently edited by other user?

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 25 February 2007 10:30 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12779
Joined  04-29-2002

If you assign a different author during an editing session, that should prevent the original author from fiddling with it.

As long as you have that user’s group set up to only edit their own content.

It’s a work flow issue mostly.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 25 February 2007 11:43 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-25-2002

Hello Sue,

sure, but I’ve thought about something like “Lock” of the entry while his edit. It doesnt matter, who this entry edits (Super Administrator, User with privilegs…).

Try to explane situation. User with privilegs created entry and then going to edit. In the same time, Admin open the same entry, made corrections and save. After this, user with privilegs finish his slower edit and save the form (after Admin). What happes? User overwritten changes done by Admin.

I want to prevent this situations with an feature, which lock entry while his editing. It not depends on user group or privilegs settings. Iam not sure, if this function is possible configure via Status entry manager.

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 26 February 2007 08:17 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12779
Joined  04-29-2002

What you are describing is record locking—I’ve seen it done using Microsoft SQL Server. Not sure how that is done using MySQL.

One thing you could implement is entry versioning, which would help a bit.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 26 February 2007 09:38 AM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16399
Joined  06-03-2002

There are some significant problems with locking while editing; your session lasts a few hours in the control panel, if one user opened an edit window for an entry and then walked away, did something else, or for whatever reason kept it open that long, no one else would be able to edit that entry for hours.  That’s one reason that wikis, for instance, do not do that type of thing; a malicious user could effectively take over a site by vandalizing an entry and keeping his edits going, preventing anyone from fixing their modifications.  Hopefully you do not have control panel access given to users who would do that type of thing, but even in normal usage, if your authors are not in the same physical room, or talking on the phone or via instant messaging, etc. then it could be very problematic to everyone’s workflow.  And if they are already in the same room, on IM, etc., then they could just be communicating to others what they are working on to start with.  And what about users who open many entries at once in browser tabs?  They could lock out dozens of entries all at once.

If this happens often to your publishers, and they do not communicate with one another, what you can do is perhaps develop an extension that when a user opens an entry to edit it, it ‘flags’ the entry as being worked on.  When they update the entry and save their changes, the flag could be cleared.  When another user opens that entry, if the flag is set, it could display an alert that so-and-so was currently editing this entry and that your changes my overwrite or be overwritten by the other user.

 Signature 
Profile
MSG
 
 
Posted: 26 February 2007 12:00 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16189
Joined  05-15-2004

That flag sounds like an excellent idea. I support this FR.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 27 February 2007 04:44 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  05-25-2002

Right Derek, an idea about Flags is better than Lock!

I think, preventing to conflict while editing is very important, but I’m not sure about my programmer skills for creating extension like this ... :-(

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 03 June 2007 06:42 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  200
Joined  04-19-2007

it would be great if the control panel would lock a template or weblog entry if one administrator is editing that so that another administrator could not interfere.
even better: make it an optional lock.

possible?

=pirco

Profile
 
 
Posted: 03 June 2007 06:45 PM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33276
Joined  05-14-2004

I’ve gone ahead and merged your feature request, pirco, with revious one.

 Signature 
Profile
MSG
 
 
Posted: 03 June 2007 06:50 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  200
Joined  04-19-2007

great. but I do want to point out that it should also work for templates. we have some larger projects that require multiple admins that work on multiple templates.

thanks

Profile
 
 
Posted: 02 July 2007 02:35 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  117
Joined  03-08-2006

I think I like the flags idea, and I’ve downloaded the edit_alert.zip file for notifying when someone is editing a post.

I also really like the lock idea for administrators editing templates (or at least the same flag idea). I will be working on a site soon with other administrators and this was a concern.

Just as a note, Joomla! has a “Global Check-In” feature which allows an administrator to forcefully check in all content left outstanding (locked).

 Signature 

http://www.the-ma.com
http://www.plebeian.org

Profile
 
 
Posted: 02 July 2007 02:40 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16399
Joined  06-03-2002

pirco, in case you missed it: Occupied! (the Edit Alert extension)

 Signature 
Profile
MSG
 
 
Posted: 02 July 2007 03:03 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  117
Joined  03-08-2006

Thanks Derek.  I couldn’t remember where it was.  smile

 Signature 

http://www.the-ma.com
http://www.plebeian.org

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66468 Total Logged-in Users: 37
Total Topics: 84862 Total Anonymous Users: 16
Total Replies: 455349 Total Guests: 183
Total Posts: 540211    
Members ( View Memberlist )