c.l.s.AccessBranch(AuthorizationBase) : class documentation

Part of canonical.launchpad.security View In Hierarchy

Controls visibility of branches.

A person can see the branch if the branch is public, they are the owner of the branch, they are in the team that owns the branch, subscribed to the branch, or a launchpad administrator.

Method checkAuthenticated Return True if the given person has the given permission.
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.

Inherited from AuthorizationBase:

Method __init__ Undocumented
Method checkAccountAuthenticated See IAuthorization.checkAccountAuthenticated.
def checkAuthenticated(self, user):
Return True if the given person has the given permission.

This method is implemented by security adapters that have not been updated to work in terms of IAccount.

ReturnsTrue or False.
def checkUnauthenticated(self):
See IAuthorization.checkUnauthenticated.
ReturnsTrue or False.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.