l.s.AdminArchive(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

Restrict changing privacy and build settings on archives.

The security of the non-virtualised build farm depends on these settings, so they can only be changed by PPA/commercial admins, or by PPA self admins on PPAs that they can already edit.

Method checkAuthenticated Return True if the given person has the given permission.

Inherited from AuthorizationBase:

Method __init__ Undocumented
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
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.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.