I am having problem setting a record rule to restrict team members viewing only tasks of projects they are member of.
I tried the following record rule: Name: Tasks According to User and Project. Object: Task. Domain: ['|','|','|',('user_id','=',False),('user_id','=',user.id),('project_id.members','in', [user.id]),('project_id.user_id','=',user.id)]. Groups: project/User.
And my project and task example as below: User A is a member of Project User group Project X doesn't have User A Task Y of Project X was created, but User A still can see this task
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/15/13, 11:27 AM|
|Seen: 667 times|
|Last updated: 3/16/15, 8:10 AM|