l.s.SubscriberViewArchive(ViewArchive) : class documentation

Part of lp.security View In Hierarchy

Restrict viewing of private archives.
Method checkAuthenticated Verify that the user can view the archive.

Inherited from ViewArchive:

Method checkUnauthenticated Unauthenticated users can see the PPA if it's not private.

Inherited from AuthorizationBase (via ViewArchive):

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.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.