teams should be members of themselves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Guilherme Salgado |
Bug Description
Carlos Perelló Marín wrote:
> Not really, I talked with Salgado about that because I assume the same
> but the test were failing, well, I assumed that
> rosetta_
> misunderstood that code). A team is never member of its own team but
Hmm... this sounds like a bug in the team machinery to me.
>>> person_set = getUtility(
>>> stub = person_
>>> stub.inTeam(stub)
True
>>> admins = person_
>>> admins.
False
>>>
IIRC People were members of their own team specifically so membership checks
could be done in a single database query.
affects /products/launchpad
--
Stuart Bishop <email address hidden> http://
Canonical Ltd. http://
Changed in launchpad: | |
assignee: | nobody → salgado |
Changed in launchpad: | |
status: | Confirmed → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
Confirming as per steve's email to the list