Discussion:
[Erp5-dev] New BT installation option proposal
Mikolaj Antoszkiewicz
2008-06-06 14:21:01 UTC
Permalink
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.


Mikolaj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080606/d43bed37/attachment.bin>
Jérome Perrin
2008-08-20 12:44:54 UTC
Permalink
Post by Mikolaj Antoszkiewicz
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.

J?rome
Romain Courteaud
2008-08-20 13:01:59 UTC
Permalink
Post by Jérome Perrin
Post by Mikolaj Antoszkiewicz
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, ...).

Regards,
Romain
Łukasz Nowak
2008-09-02 10:12:29 UTC
Permalink
Hello,
Post by Jérome Perrin
Post by Jérome Perrin
Post by Mikolaj Antoszkiewicz
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>
Loading...