ICIJ / prophecies

An ICIJ app to conduct data validation and cleaning.
https://icij.gitbook.io/prophecies
GNU Affero General Public License v3.0
19 stars 4 forks source link

[bug] As a user, I can see tasks of a project when I'm not a checker of at least one task of the project #134

Closed caro3801 closed 2 years ago

caro3801 commented 2 years ago

As a user, I can see tasks of a project when I'm not a checker of at least one task of the project. This was observed with the use of user card when we list user's tasks on hover and in the user's team page when we list teammate's tasks

Example

Caroline is in project Alpha for task A and task B Pierre is in project Alpha for task C and project Delta for task D

Current behavior

if I'm Caroline I can see Pierre's task C AND task D if I'm Pierre I can see Caroline's task A and task B

Correct behavior:

if I'm Caroline I can see Pierre's task C BUT NOT task D if I'm Pierre I can see Caroline's task A and task B