0
votes

In OpenERP, I have found that it is possible to record a rule so project team members can only see their projects with the following rule definition in settings -> security -> record -rules on the project.project model:

['|',('members','in', [user.id]),('user_id','=',user.id)]

My question is how it would be possible to record a similar rule for the "team planning" feature on project.phase model? The above code does not work for this, but can it be modified? Or is there another way to restrict the access to project phases to only those who has been assigned to the phase or project?

Kind Regards

Johan

1
you found any answer till now?dirtyhandsphp

1 Answers

0
votes

Have you tried this record rule on object(project.user.allocation) Phase User Allocation,

['|',('user_id','=',user.id),('user_id','=',False)]

Created a new rule for this object

Hope this will help