~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bugtask.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 23:29:30 UTC
  • mfrom: (14646.3.2 unassign-bugs-0)
  • Revision ID: launchpad@pqm.canonical.com-20120106232930-0t6v7pj0nn2k5e89
[r=bac][bug=910876] Permit logged in users to unassign bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
841
841
        """
842
842
 
843
843
    def userCanUnassign(user):
844
 
        """Check if the current user can set assignee to None.
845
 
 
846
 
        Project owner, project drivers, series drivers, bug supervisors
847
 
        and Launchpad admins can do this always; other users can do this
848
 
        only if they or their reams are the assignee.
849
 
        """
 
844
        """Check if the current user can set assignee to None."""
850
845
 
851
846
    @mutator_for(assignee)
852
847
    @operation_parameters(