l.s.AccessBranch(AuthorizationBase) : class documentation

Part of lp.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, they have an access grant 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 checkPermissionIsRegistered Pass through to checkPermission.
Method forwardCheckAuthenticated Forward request to another security adapter.
Method forwardCheckUnauthenticated Forward request to another security adapter.
Method _checkAndFetchNext Undocumented
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 2022-06-16 00:00:12.