~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bug-private-by-default.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-26 06:01:53 UTC
  • mfrom: (14575.2.4 megalint-9)
  • Revision ID: launchpad@pqm.canonical.com-20111226060153-1rfmi1yn90lu4fuf
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
= Private by default bugs =
 
1
Private by default bugs
 
2
=======================
2
3
 
3
4
A product with private bugs by default must always have a bug supervisor
4
5
(this is enforced by a DB constraint).
50
51
    >>> security_bug_task.bug.private
51
52
    True
52
53
 
53
 
For a security related bug, the security contact or the product owner 
 
54
For a security related bug, the security contact or the product owner
54
55
(if no security contact) is subscribed.
55
56
 
56
57
    >>> security_bug_task.bug.security_related
59
60
    >>> landscape.security_contact.name
60
61
    u'name16'
61
62
 
62
 
    >>> sorted(sub.name for sub in security_bug_task.bug.getDirectSubscribers())
 
63
    >>> sorted(
 
64
    ...     sub.name for sub in security_bug_task.bug.getDirectSubscribers())
63
65
    [u'name16', u'no-priv']