Page 1 of 1

Dealing with multiple Administrators

Posted: Mon Jan 12, 2009 3:17 pm
by zeve
Hey guys,

So I have a content management system that I have developed.

Users, who are not administrators, submit stories.

They are then sent to a pending database.

An administrator then gets to view, edit, and then submit those stories.

However, what if I want to give multiple users administrator privileges? The dilemma in my mind is, what if two administrators open the same story at the same time, and are both editing it. Then there will be two altering submissions of the same story.

What is an effective way to prevent something like this while having multiple moderators/admins.

Anyone deal with something like this in the past?

Re: Dealing with multiple Administrators

Posted: Mon Jan 12, 2009 3:52 pm
by s.dot
There are multiple ways you can deal with this:

1) Do something like a wiki does.. every time the story is edited and saved, make an archive of the save. If someone overwrites, it can be easily retrieved.

2) Allow access to one administrator at a time, say based on a time stamp in the last 15 minutes.

3) Assign different stories to different administrators and only let them work on those particular stories.