l.s.i.a.IArchivePublic(IPrivacy, IHasOwner) : interface documentation

Part of lp.soyuz.interfaces.archive View In Hierarchy

Known subclasses: lp.soyuz.interfaces.webservice.IArchive

An Archive interface for publicly available operations.
Attribute id The archive ID.
Bool enabled Accept and build packages uploaded to the archive.
Attribute is_primary True if this archive is a primary archive.
Attribute is_ppa True if this archive is a PPA.
Attribute is_partner True if this archive is a partner archive.
Attribute is_copy True if this archive is a copy archive.
Bool is_main Undocumented
Method checkArchivePermission Check to see if person is allowed to upload to component.

Inherited from IPrivacy:

Bool private Private objects are visible to members or subscribers.

Inherited from IHasOwner:

Attribute owner The object's owner, which is an IPerson.
id =
The archive ID.
enabled =
Accept and build packages uploaded to the archive.
is_primary =
True if this archive is a primary archive.
is_ppa =
True if this archive is a PPA.
is_partner =
True if this archive is a partner archive.
is_copy =
True if this archive is a copy archive.
is_main =
Undocumented
def checkArchivePermission(person, component_or_package=None):
Check to see if person is allowed to upload to component.
ParameterspersonAn IPerson whom should be checked for authentication.
component_or_packageThe context IComponent or an ISourcePackageName for the check. This parameter is not required if the archive is a PPA.
ReturnsTrue if 'person' is allowed to upload to the specified component or package name.
RaisesTypeErrorIf component_or_package is not one of IComponent or ISourcePackageName.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.