l.s.DownloadFullSourcePackageTranslations(OnlyRosettaExpertsAndAdmins) : class documentation

Part of lp.security View In Hierarchy

Restrict full SourcePackage translation downloads.

Experience shows that the export queue can easily get swamped by large export requests. Email leads us to believe that many of the users making these requests are looking for language packs, or for individual translations rather than the whole package. That's why this class defines who is allowed to make those requests.

Method checkAuthenticated Define who may download these translations.
Method _userInAnyOfTheTeams Undocumented

Inherited from AuthorizationBase (via OnlyRosettaExpertsAndAdmins):

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 _userInAnyOfTheTeams(self, user, archive_permissions):
Undocumented
def checkAuthenticated(self, user):
Define who may download these translations.

Admins and Translations admins have access, as does the owner of the translation group (if applicable) and distribution uploaders.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.