On 23/05/10 13:34 +0200, Mathias Behrle wrote:
> * 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.

If we don't migration doesn't work out-of-the-box. But it is one of the
target of Tryton (difference between OpenERP).

> 
> > * 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?

I don't know but admin group is a group like others.


-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/

Attachment: pgpcgL4j5aP37.pgp
Description: PGP signature

Reply via email to