c.l.s.AppendArchive(AuthorizationBase) : class documentation

Part of canonical.launchpad.security View In Hierarchy

Restrict appending (upload and copy) operations on archives.

No one can upload to disabled archives.

PPA upload rights are managed via IArchive.checkArchivePermission;

Appending to PRIMARY, PARTNER or COPY archives is restricted to owners.

Appending to ubuntu main archives can also be done by the 'ubuntu-security' celebrity.

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

Inherited from AuthorizationBase:

Method __init__ Undocumented
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
Method checkAccountAuthenticated See IAuthorization.checkAccountAuthenticated.
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 2010-09-27 00:00:11.