~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/doc/branch-visibility.txt

[r=henninge][bug=766955][incr] Mechanical change to move
 AuthorizationBase into lp.app.security.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
combination of the launchpad.View permission and the IBranch interface.
62
62
 
63
63
    >>> from zope.component import getAdapter
64
 
    >>> from canonical.launchpad.webapp.interfaces import IAuthorization
 
64
    >>> from lp.app.interfaces.security import IAuthorization
65
65
    >>> getAdapter(branch, IAuthorization, name='launchpad.View')
66
66
    <canonical.launchpad.security.AccessBranch ...>
67
67