l.s.DeleteArchive(EditArchive) : class documentation

Part of lp.security View In Hierarchy

Restrict archive deletion operations.

People who can edit an archive can delete it. In addition, registry experts can delete non-main archives, as a spam control mechanism.

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

Inherited from AuthorizationBase (via EditArchive):

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.