I need the following:
When i assign a user to an issue, the issue must be visible to the user and the group and Project Role where the user is.
I will make an example to illustrate:
- Bob, Mary and Ana are in the group A.
- July and Oscar are in group B.
- Bob, Ana and July are in the Project role of "Devs"
- Mary and Oscar are in the Project Role of "Readers"
- When someone assign Bob to an issue
- The issue must be visible to Bob and Ana (Cause they are in the same group and project role)
- The issue must not be visible to Mary, Oscar and July
- But if we change the asignee to Oscar
- The Issue must be only visible to Oscar
So a Issue only have to be visible to the user assignee and Intersection of group and project role the user belongs.
Do you know how to do it?