Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-11 17:31:32

vurt
Member
Registered: 2010-10-22
Posts: 50

Simultaneously logged in users

Assuming that the users aren’t publishing in the same section, is it safe for multiple users to be working at the same time?

Risks?

Thank you!

Offline

#2 2010-11-11 18:07:35

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Simultaneously logged in users

vurt wrote:

Risks?

Sure: there’s no conflict resolution mechanism if two users are editing the same data simultaneously, so one user’s changes can be inadvertently overridden by another’s. Edit: See Stuart’s post, below: I didn’t know this.

But if you’re talking about articles, unless you are assigning high privileges to multiple users, this wouldn’t ordinarily be a problem.

Last edited by jsoo (2010-11-11 22:36:15)


Code is topiary

Offline

#3 2010-11-11 22:22:40

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Simultaneously logged in users

If my memory serves me correctly, if 2 users happen to be editing the same form, article, image or whatever, the second one that saves the item will get a warning message that the item has been modified by “xxxx” and they will be asked if they want to continue with the save, or something similar to that.

Last edited by thebombsite (2010-11-11 22:23:46)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2010-11-17 01:02:12

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Simultaneously logged in users

Revision: r2857 – Textpattern @ Google Code

Concurrent article edit warning. When trying to save an existing article that has been modified by someone else while you were editing it, this patch does not save the article at first, but shows a warning instead. If you choose to ignore the warning, you can save the article by pressing the Save button a second time.

There’s also a rather dated plugin that is supposed to let you know if someone else is editing the same article prior to saving: nok_edit_alarm v0.1a

Last edited by maverick (2010-11-17 01:03:17)

Offline

#5 2010-11-17 13:05:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Simultaneously logged in users

Thanks, Mike, for confirming this so unequivocally, and for posting the plugin code. I have a client who’s a bit overly concerned about this issue. These two will appease him.

nok_edit_alarm is still working, with a little detour, though.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2010-11-17 14:00:46

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Simultaneously logged in users

Your welcome Uli!

Thanks for the tip on making nok_edit_alarm work.

Offline

Board footer

Powered by FluxBB