[Erp5-dev] Deleted - how to make invisible?

Shresth K shresth.k at gmail.com
Tue Jun 26 20:56:11 CEST 2007


Thanks. Is there a plan to modify all standard/default workflows to have the
delete_action? If yes, then I can try and submit a patch for the same.

Shresth

On 27/06/07, bartek <bartek at erp5.pl> wrote:
>
> Shresth K wrote:
> > Hello,
> >
> > With reference to the mail
> > http://www.erp5.org/pipermail/erp5-dev/2006-September/000678.html
> >
> >     Here is the rule we are going towards after much discusion:
> >
> >       1- objects which are handled by workflows can not be deleted:
> deletion is
> >     part of the workflow (ie. the document lifecycle) and must therefore
> be
> >     implemented by a workflow action which may for example move the
> object to
> >
> >     an "archived" state (invisible)
> >
> > I have managed to get the first part working and objects with workflows
> > can now be marked as 'Deleted'. But, where is the magic for the
> > "archival" or "invisible" happening? In the context of Business
> > templates, I can see that the objects marked as 'Deleted' are no longer
> > visible but  how and where is the logic/code for the same, remains a
> > mystery. Any pointers in this direction shall be most welcome.
>
> Security - workflow in deleted state can take 'view' permissions away
> from you (even from Manager), so it disappears from all listboxes.
>
> B.
>
> >
> > Thanks,
> > Shresth
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Erp5-dev mailing list
> > Erp5-dev at erp5.org
> > http://erp5.org/mailman/listinfo/erp5-dev
>
>
> --
> "feelings affect productivity. (...) unhappy people write worse
> software, and less of it."
> Karl Fogel, "Producing Open Source Software"
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070627/53025193/attachment.htm>


More information about the Erp5-dev mailing list