~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=sinzui][bug=855670] Add additional checks to the private team
        launchpad.LimitedView security adaptor so more users in defined
        roles can see the team.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3576
3576
 
3577
3577
        # If we have made it to here then the logged in user can see the
3578
3578
        # bug, hence they can see any assignees.
 
3579
        # The security adaptor will do the job also but we don't want or need
 
3580
        # the expense of running several complex SQL queries.
3579
3581
        authorised_people = [task.assignee for task in self.bugtasks
3580
3582
                             if task.assignee is not None]
3581
3583
        precache_permission_for_objects(