I must abandon this. IPerson.inTeam is a privileged method and making work for external API is very difficult.
I recommend anyone working on this in the future to review the rejected work first: https://code.edge.launchpad.net/~sinzui/launchpad/in-team/+merge/6894
I propose that instead of exposing inTeam, a new API-safe method be added (isInTeam()). The method could use the is_visible_by_user construct as a guard that calls the real inTeam() method.
I must abandon this. IPerson.inTeam is a privileged method and making work for external API is very difficult.
I recommend anyone working on this in the future to review the rejected work first: /code.edge. launchpad. net/~sinzui/ launchpad/ in-team/ +merge/ 6894
https:/
I propose that instead of exposing inTeam, a new API-safe method be added (isInTeam()). The method could use the is_visible_by_user construct as a guard that calls the real inTeam() method.