Unclaimed Persons with hidden email addresses are inaccessible

Bug #433385 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
William Grant

Bug Description

PersonView.context_is_probably_a_team attempts to examine all email addresses owned by the context Person. It is called if the Person is unclaimed.

This was fine until recently, when the fix for bug #408528 began creating unclaimed Persons with hidden email addresses. context_is_probably_a_team doesn't use removeSecurityProxy, so attempts to access the Person's index result in an Unauthorized, and a merge is impossible.

Tags: lp-registry

Related branches

William Grant (wgrant)
Changed in launchpad-registry:
status: New → In Progress
assignee: nobody → William Grant (wgrant)
Revision history for this message
William Grant (wgrant) wrote :

Fixed in devel r9542

Changed in launchpad-registry:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Undecided → Low
milestone: none → 3.1.10
milestone: 3.1.10 → 3.0
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.