* Betr.: " [tryton-dev] Some issues when implementing triggers" (Sat, 22 May 2010 13:13:57 +0200):
> * Wrong required field added to res.user:
>
> The module dashboard add a Selection field 'dashboard_layout' that is
> required. So this is wrong and I will fix the module but there is still a
> migration issue because the creation of a user before the load of this module
> will fail. So I propose to duplicate the migration script of this field from
> dashboard module into res module. This will ensure that the field will no more
> be required at the early stage.
I don't think you will provide such migration in res (resp. server) module(s)
for other than B2CK modules. So for me this is not the right way, but there
should be 'Release Notes' for releases indicating the problem and its
resolution.
> * Access right to trigger cron user:
>
> I need to create a user to run the cron task that checks if on_time trigger
> must be run. I added it to the admin group but he will requires to be added on
> groups from others module to run on some restricted models.
> I see two possibilities:
>
> - modify each module to add this new user to each modules like we already
> do for admin user
> - let it by default with only the admin group and users that will create
> triggers should add it to the right groups
If the user for trigger cron is in the admin group, which are the restricted
models he won't be able to access?
--
Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg
Tel: +49(761)471023
Fax: +49(761)4770816
http://mbsolutions.selfip.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x89BCA161
signature.asc
Description: PGP signature
