6.0.0-beta13
4/12/26
  • Backlinks
  • Similar Pages
  • Attachments
  • History
  • Back to

On this page I try to collect everything on Resource Locking.

[[toc]]

+++ The idea

[http://lists.horde.org/archives/dev/Week-of-Mon-20050606/018056.html I noticed] that there is currently no way horde can tell you that anyone is already editing an item when you > try to edit an item (notes, wiki, etc). [http://lists.horde.org/archives/dev/Week-of-Mon-20050404/017589.html Kevin Myer] asked the same question a few weeks ako on the dev list, > but none is working on this. So I decided to solve this problem.

+++ Two ways

There are (a least) two ways this can be done.

++++ Locking

The easy one is to lock an item for a certain time when someone starts to edit it. If someone else tryes to edit it, horde will deny this and tell him / her to wait. The contra of this is > that only one person can edit one item at one time.

++++ Try to merge

The better way would that horde tryes to merge the changes, similar to cvs. If changes cannot be merged, horde will tell the user. Maybe I can use the form validation for this.

+++ Roadmap and timeline

Ther is timeline for this project yet. Since I haven't done any development for horde yet, I need to read a lot of code first.

+++ Contact

Martin Lohmeier