The PublicOrPrivateTeamsExistence class does think it is checking that the user's teams intersect with the subteam's super teams.
# Do comparison by ids because they may be needed for comparison
# to membership.team.ids later. user_teams = [ team.id for team in user.person.teams_participated_in] super_teams = [team.id for team in self.obj.super_teams] intersection_teams = set(user_teams) & set(super_teams)
if len(intersection_teams) > 0: return True
In Loïc's case, I can see ~linaro-internal-wiki-access listed at https://launchpad.net/~lool/+participation. I can see ~linaro-internal-wiki-access listed in the "Subteam of" of every private team listed on members.
The PublicOrPrivate TeamsExistence class does think it is checking that the user's teams intersect with the subteam's super teams.
user_ teams = [
team. id for team in user.person. teams_participa ted_in]
super_ teams = [team.id for team in self.obj. super_teams]
intersecti on_teams = set(user_teams) & set(super_teams) n_teams) > 0:
return True
# Do comparison by ids because they may be needed for comparison
# to membership.team.ids later.
if len(intersectio
In Loïc's case, I can see ~linaro- internal- wiki-access listed at https:/ /launchpad. net/~lool/ +participation. I can see ~linaro- internal- wiki-access listed in the "Subteam of" of every private team listed on members.
Loïc, can you visit https:/ /launchpad. net/~linaro- internal- wiki-access/ +members and copy the OOPS id shown in the Forbidden page? I need to see what is Lp is doing just before the error is raised.