[Zope-CMF] Document Revisions

Chris Withers chrisw@nipltd.com
Wed, 30 May 2001 22:56:52 +0100


Hi,

Would a content type like this solve people's revision problems?

- ObjectManager-ish (the name of this object would be the name of
  the document)

- containing documents who's names are the names of the revision
  (could be date, person, etc, just like tags in CVS)

- with one revision specified as active

so if x was the name of the document and had three revisions; r1, r2 and r3:

/x/r1 would get r1
/x/r2 likewise, would get r2
/x    would get r3, as that was specified as the current active version.

The permissions on the various objects could also be tweaked in the same way
they currently are by workflows. Each revision could be involved in its own
workflow, there would also be a workflow governing what states revisions
could be in, eg:

the workflow may specify that only once document can be active at one time,
if a new revision becomes active, the old revision becomes 'historic' in
state. It might also specify rules on how many revisions can be in other
states and what states they may change to, etc...

This seems trivial to implement, would it solve everyone's problems?

cheers,

Chris