Do not permit open/delegated teams to subscribe to private bugs

Bug #878531 reported by Curtis Hovey
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
j.c.sackett

Bug Description

A review of data revealed that there were/are open or delegated teams subscribed to private bugs. 95% of the affected bugs are unwanted; duplicates, invalid, wontfix, expired, questions, tests. This issue does not appear to have been the cause of a serious compromise, they are more often accidental subscriptions that users do not want to see.

SELECT distinct
    product, productseries, distribution, distroseries, bs.bug, t.name
FROM person t
    JOIN bugsubscription bs ON bs.person = t.id
    JOIN bug ON bug.id = bs.bug
    JOIN bugtask ON bugtask.bug = bug.id
WHERE
    bug.private
    AND t.subscriptionpolicy IN (2, 4)
ORDER BY t.name, product, productseries, distribution, distroseries;

Lp must ensure that open teams cannot subscribe to private bugs or be assigned private bugs.

Related branches

Curtis Hovey (sinzui)
summary: - do not permit open/delegated teams to subscribe to private bugs
+ Do not permit open/delegated teams to subscribe to private bugs
j.c.sackett (jcsackett)
Changed in launchpad:
assignee: nobody → j.c.sackett (jcsackett)
j.c.sackett (jcsackett)
Changed in launchpad:
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
j.c.sackett (jcsackett)
Changed in launchpad:
status: Fix Committed → In Progress
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Changed in launchpad:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
William Grant (wgrant)
visibility: private → public
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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