Person.getAffiliatedPillars doesn't filter out inaccessible private projects

Bug #1095982 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Steve Kowalik

Bug Description

Person.getAffiliatedPillars doesn't perform privilege checks on private projects, so it can cause pages like Person:+index to 403 when an inaccessible private project would be shown.

Related branches

Revision history for this message
William Grant (wgrant) wrote :

It does actually try to filter, but somewhat fails. It returns a product if the user has an AAG, but due to the bad definition of product privacy an APG is required to actually hold launchpad.View.

Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Steve Kowalik (stevenk)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Steve Kowalik (stevenk)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
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.