On 05/10/12 06:19 -0700, Todor Todorov wrote:
> Hello All,
> 
> I am coming from the openerp world and I would love to turn to tryton due 
> to many reasons.
> Thank you for the good job done on Tryton!
> 
> I have a quesion on the usage of 'project' module:
> I see that 'Projects' and 'Tasks' are using the same model, called 
> 'project.work'. The differenciation is done on the field 'type', where 
> 'Task' has type='task' and 'Project' has type='project'. How can I create a 
> user group, which gives the permissions to Read Write Create Delete only on 
> Tasks, but does not give these permissioins on Projects?
> I tried to do this using 'Rules' in the tab 'Access Permissions' of the 
> User Group, but it seams I am not getting well the concept for 'Rules' in 
> Tryton.
> A short example would be much appreciated.

I also think it should be done with rule but the current design of it
doesn't allow such configuration easily.
I think we should replace the (field, operator, operand) by simply a
text field with a domain.

Otherwise to solve your issue with the current design, I think you
should create a Function field on project.work that will return True or
False depending if the user has the permission or not. Than you can
write a rule with it.

-- 
Cédric Krier

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

Attachment: pgptfuIaASlMY.pgp
Description: PGP signature

Reply via email to