BenoitTalbot / bungeni-portal

Automatically exported from code.google.com/p/bungeni-portal
0 stars 0 forks source link

Parliamentary Item versions improvement #704

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Item versions
-------------

Parliamentary Item versions are "snapshots" in time of a parliamentary item 
i.e. they are frozen and never ever changed.

Problems with current implementation
-------------------------------------

parliamentary item versions seem to have their workflow and states -- they dont 
record the state of the item being versioned.

parliamentary item versions once created have just one "public" state and they 
become visible to Anonymous.

versions dont appear to record the permissions of the item being versioned at 
that point of time.

To do 
------

a) get rid of the current version workflow

b) liberate the "status" field on version records to behave as
expected i.e. to store the status of the item at the time of
versioning

c) simply use the master-type workflow for all permission checking on versions

d) possibly add a versionable="true" attribute on <workflow>, to be
able to declare if a workflowed type is to be versioned or not, and if
it is then dynamically register the workflow as the IWorkflow adapter
for the dedicated version type

Original issue reported on code.google.com by ashok.ha...@gmail.com on 6 Jun 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Issue 581 has been merged into this issue.

Original comment by ashok.ha...@gmail.com on 6 Jun 2011 at 11:38

GoogleCodeExporter commented 9 years ago
Implementation of all 4 points (a) to (d) should be completed in r8483 and the 
various preceeding "Versions refactoring" changesets going as far back as r8364.

Original comment by mario.ruggier@gmail.com on 29 Jul 2011 at 11:09

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 6 Oct 2011 at 7:33