l.s.ViewArchive(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

Known subclasses: lp.security.SubscriberViewArchive

Restrict viewing of private archives.

Only admins or members of a private team can view the archive.

Method checkAuthenticated Verify that the user can view the archive.
Method checkUnauthenticated Unauthenticated users can see the PPA if it's not private.

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):
Verify that the user can view the archive.

Anyone can see a public and enabled archive.

Only Launchpad admins and uploaders can view private or disabled archives.

def checkUnauthenticated(self):
Unauthenticated users can see the PPA if it's not private.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.