~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=deryck][ui=none][bug=556489] If a distribution has a bug
        supervisor set,
        only allow the bug supervisor or members of that team to subscribe to
        all of the distribution's bug reports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        :return: The new subscription.
152
152
        """
153
153
 
 
154
    def userCanAlterBugSubscription(subscriber, subscribed_by):
 
155
        """Check if a user can change a bug subscription for a person."""
 
156
 
154
157
    @operation_parameters(
155
158
        subscriber=Reference(
156
159
            schema=IPerson,