l.s.ModerateArchive(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

Known subclasses: lp.security.ModerateLiveFS

Restrict changing the build score on archives.

Buildd admins can change this, as a site-wide resource that requires arbitration, especially between distribution builds and builds in non-virtualized PPAs. PPA/commercial admins can also change this since it affects the relative priority of (private) PPAs.

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.