[Erp5-dev] New BT installation option proposal

Łukasz Nowak lukasz.nowak at ventis.com.pl
Tue Sep 2 12:12:29 CEST 2008


Hello,

On Wed, 2008-08-20 at 15:01 +0200, Romain Courteaud wrote:
> * Jérome Perrin [2008-08-20 14:44:54 +0200]:
> 
> > Le vendredi 06 juin 2008 à 16:21 +0200, Mikolaj Antoszkiewicz a écrit :
> > > Hello Everybody!
> > > 
> > > Right now when installing a BT, there are two 'after-install' options to 
> > > choose from: update_catalog and update_translation
> > > When there are any catalog entries the update_catalog options is 'on' 
> > > by default.
> > > 
> > > I was thinking about 'update_security' option. It would force 
> > > updateSecuritySettings on all portal_types and workflows.
> > > When there are any new Role Definitions installed that option could also 
> > > be by default set to 'on'.
> > > Without it, just like with catalog changes, the site might be 
> > > non-functional.
> > 
> > Hello,
> > 
> > For me this is a good idea.
> 
> Hello,
> 
> I have a different point of view than yours.
> 
> On the one hand, update_catalog and update_translation options don't
> modify the data in the ZODB, but only their index in the catalog.
> 
> On the other hands, 'update_security' option will lead to an huge
> modification in the data. In such case, I think it is better that the
> site's administrator launch a script itself if he really want to do 
> such data migrations (update local roles, permissions, ...).

Is it acceptable to provide such set of scripts? Like this one attached?

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: BusinessTemplate_updateRoleMapping.py
Type: text/x-python
Size: 782 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080902/ddd886a1/attachment.py>


More information about the Erp5-dev mailing list