~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/role.py

  • Committer: Julian Edwards
  • Date: 2011-07-28 20:46:18 UTC
  • mfrom: (13553 devel)
  • mto: This revision was merged to the branch mainline in revision 13555.
  • Revision ID: julian.edwards@canonical.com-20110728204618-tivj2wx2oa9s32bx
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    Bool,
23
23
    Choice,
24
24
    )
25
 
 
26
25
from canonical.launchpad import _
27
26
 
28
27
 
120
119
    def inTeam(team):
121
120
        """Is this person a member or the owner of `team`?
122
121
 
123
 
        Passed through to the *unproxied* same method in
124
 
        `IPersonViewRestricted`.
 
122
        Passed through to the same method in 'IPersonPublic'.
125
123
        """
126
124
 
127
125
    def isOwner(obj):
130
128
    def isDriver(obj):
131
129
        """Is this person the driver of the object?"""
132
130
 
133
 
    def isBugSupervisor(obj):
134
 
        """Is this person the bug supervisor of the object?"""
135
 
 
136
 
    def isSecurityContact(obj):
137
 
        """Is this person the security contact of the object?"""
138
 
 
139
131
    def isOneOfDrivers(obj):
140
132
        """Is this person on of the drivers of the object?
141
133