l.security : module documentation

Part of lp

Security policies for using content objects.
Function is_commercial_case Is this a commercial project and the user is a commercial admin?
Class ViewByLoggedInUser The default ruleset for the launchpad.View permission.
Class AnyAllowedPersonDeferredToView The default ruleset for the launchpad.AnyAllowedPerson permission.
Class LimitedViewDeferredToView The default ruleset for the launchpad.LimitedView permission.
Class AdminByAdminsTeam Undocumented
Class AdminByCommercialTeamOrAdmins Undocumented
Class EditByRegistryExpertsOrAdmins Undocumented
Class ModerateByRegistryExpertsOrAdmins Undocumented
Class ModerateDistroSeries Undocumented
Class ModerateProduct Undocumented
Class ModerateProductSet Undocumented
Class ModerateProject Undocumented
Class ModerateProjectGroupSet Undocumented
Class ModeratePerson Undocumented
Class ViewPillar No class docstring; 1/2 methods documented
Class PillarPersonSharingDriver No class docstring; 1/1 methods documented
Class EditAccountBySelfOrAdmin Undocumented
Class ViewAccount No class docstring; 1/1 methods documented
Class ModerateAccountByRegistryExpert Undocumented
Class ViewOpenIdIdentifierBySelfOrAdmin Undocumented
Class EditOAuthAccessToken Undocumented
Class EditOAuthRequestToken Undocumented
Class EditByOwnersOrAdmins Undocumented
Class ViewProduct Undocumented
Class LimitedViewProduct Undocumented
Class EditProduct Undocumented
Class EditPackaging Undocumented
Class EditProductReleaseFile Undocumented
Class ViewTimelineProductSeries Anyone who can view the related product can also view an
Class ViewProductReleaseFile Anyone can view an IProductReleaseFile.
Class AdminDistributionMirrorByDistroOwnerOrMirrorAdminsOrAdmins Undocumented
Class EditDistributionMirrorByOwnerOrDistroOwnerOrMirrorAdminsOrAdmins Undocumented
Class ViewDistributionMirror Anyone can view an IDistributionMirror.
Class EditSpecificationBranch No class docstring; 1/1 methods documented
Class ViewSpecificationBranch No class docstring; 1/1 methods documented
Class AnonymousAccessToISpecificationPublic Anonymous users have launchpad.View on ISpecificationPublic.
Class ViewSpecification Undocumented
Class EditSpecificationByRelatedPeople We want everybody "related" to a specification to be able to edit it.
Class AdminSpecification Undocumented
Class DriverSpecification Undocumented
Class EditSprintSpecification The sprint owner or driver can say what makes it onto the agenda for
Class DriveSprint The sprint owner or driver can say what makes it onto the agenda for
Class ViewSprint An attendee, owner, or driver of a sprint.
Class EditSprint Undocumented
Class ModerateSprint The sprint owner, registry experts, and admins can moderate sprints.
Class EditSpecificationSubscription The subscriber, and people related to the spec or the target of the
Class OnlyRosettaExpertsAndAdmins Base class that allow access to Rosetta experts and Launchpad admins.
Class AdminProjectTranslations No class docstring; 1/1 methods documented
Class AdminProductTranslations No class docstring; 1/1 methods documented
Class ViewProjectMilestone Undocumented
Class EditProjectMilestoneNever No class docstring; 1/1 methods documented
Class LimitedViewMilestone Undocumented
Class ViewMilestone Undocumented
Class EditMilestoneByTargetOwnerOrAdmins No class docstring; 1/1 methods documented
Class AdminMilestoneByLaunchpadAdmins No class docstring; 1/1 methods documented
Class ModeratePersonSetByExpertsOrAdmins Undocumented
Class EditTeamByTeamOwnerOrLaunchpadAdmins No class docstring; 1/1 methods documented
Class EditTeamByTeamOwnerOrTeamAdminsOrAdmins No class docstring; 1/1 methods documented
Class ModerateTeam No class docstring; 1/1 methods documented
Class EditTeamMembershipByTeamOwnerOrTeamAdminsOrAdmins Undocumented
Class ViewTeamMembership No class docstring; 2/2 methods documented
Class AdminByCommercialTeamOrAdminsOrPerson No class docstring; 1/1 methods documented
Class EditPersonBySelfOrAdmins No class docstring; 1/1 methods documented
Class EditTranslationsPersonByPerson Undocumented
Class ViewPersonLocation Undocumented
Class EditPersonBySelf No class docstring; 1/1 methods documented
Class ViewPublicOrPrivateTeamMembers Restrict viewing of private teams.
Class PublicOrPrivateTeamsExistence Restrict knowing about private teams' existence.
Class EditPollByTeamOwnerOrTeamAdminsOrAdmins Undocumented
Class EditPollSubsetByTeamOwnerOrTeamAdminsOrAdmins Undocumented
Class EditPollOptionByTeamOwnerOrTeamAdminsOrAdmins Undocumented
Class AdminDistribution Soyuz involves huge chunks of data in the archive and librarian,
Class EditDistributionByDistroOwnersOrAdmins The owner of a distribution should be able to edit its
Class ModerateDistributionByDriversOrOwnersOrAdmins Distribution drivers, owners, and admins may plan releases.
Class ViewDistributionSourcePackage Anyone can view a DistributionSourcePackage.
Class BugSuperviseDistributionSourcePackage The owner of a distribution should be able to edit its source
Class EditDistributionSourcePackage No class docstring; 1/2 methods documented
Class BugTargetOwnerOrBugSupervisorOrAdmins Product's owner and bug supervisor can set official bug tags.
Class NominateBugForProductSeries Product's owners and bug supervisors can add bug nominations.
Class NominateBugForDistroSeries Distro's owners and bug supervisors can add bug nominations.
Class AdminDistroSeries Soyuz involves huge chunks of data in the archive and librarian,
Class EditDistroSeriesByReleaseManagerOrDistroOwnersOrAdmins The owner of the distro series (i.e. the owner of the distribution)
Class ViewDistroSeries Anyone can view a DistroSeries.
Class EditDistroSeriesParent DistroSeriesParent can be edited by the same people who can edit
Class ViewCountry Anyone can view a Country.
Class AdminDistroSeriesDifference You need to be an archive admin or LP admin to get lp.Admin.
Class EditDistroSeriesDifference Anyone with lp.View on the distribution can edit a DSD.
Class SeriesDrivers Drivers can approve or decline features and target bugs.
Class DriveProduct Undocumented
Class LimitedViewProductSeries Undocumented
Class ViewProductSeries Undocumented
Class EditProductSeries No class docstring; 1/1 methods documented
Class ViewDistroArchSeries Anyone can view a DistroArchSeries.
Class ModerateDistroArchSeries Undocumented
Class ViewAnnouncement No class docstring; 2/2 methods documented
Class EditAnnouncement No class docstring; 1/1 methods documented
Class EditStructuralSubscription No class docstring; 1/1 methods documented
Class OnlyBazaarExpertsAndAdmins Base class that allows only the Launchpad admins and Bazaar
Class OnlyVcsImportsAndAdmins Base class that allows only the Launchpad admins and VCS Imports
Class EditCodeImport Control who can edit the object view of a CodeImport.
Class SeeCodeImportJobSet Control who can see the CodeImportJobSet utility.
Class EditCodeImportJobWorkflow Control who can use the CodeImportJobWorkflow utility.
Class EditCodeImportMachine Control who can edit the object view of a CodeImportMachine.
Class AdminSourcePackageRecipeBuilds Control who can edit SourcePackageRecipeBuilds.
Class AdminDistributionTranslations Class for deciding who can administer distribution translations.
Class ViewPOTemplates Anyone can view an IPOTemplate.
Class AdminPOTemplateDetails Controls administration of an IPOTemplate.
Class EditPOTemplateDetails Undocumented
Class AddPOTemplate Undocumented
Class ViewPOFile Anyone can view an IPOFile.
Class EditPOFile No class docstring; 1/1 methods documented
Class AdminTranslator No class docstring; 1/1 methods documented
Class EditTranslator No class docstring; 1/1 methods documented
Class EditTranslationGroup No class docstring; 1/1 methods documented
Class EditTranslationGroupSet Undocumented
Class DownloadFullSourcePackageTranslations Restrict full SourcePackage translation downloads.
Class EditProductRelease Undocumented
Class ViewProductRelease Undocumented
Class AdminTranslationImportQueueEntry Undocumented
Class EditTranslationImportQueueEntry No class docstring; 1/1 methods documented
Class AdminTranslationImportQueue Undocumented
Class EditPackageUploadQueue No class docstring; 1/1 methods documented
Class EditPlainPackageCopyJob Undocumented
Class ViewPackageUpload Restrict viewing of package uploads.
Class EditPackageUpload No class docstring; 1/1 methods documented
Class AdminByBuilddAdmin No class docstring; 1/1 methods documented
Class AdminBuilderSet Undocumented
Class AdminBuilder Undocumented
Class EditBuilder Undocumented
Class AdminBuildRecord Undocumented
Class EditBuildFarmJob Undocumented
Class EditPackageBuild No class docstring; 1/1 methods documented
Class EditBinaryPackageBuild No class docstring; 1/1 methods documented
Class ViewBinaryPackageBuild No class docstring; 2/2 methods documented
Class ModerateBinaryPackageBuild Undocumented
Class ViewTranslationTemplatesBuild Permission to view an ITranslationTemplatesBuild.
Class AdminQuestion No class docstring; 1/1 methods documented
Class AppendQuestion No class docstring; 1/1 methods documented
Class QuestionOwner No class docstring; 1/1 methods documented
Class EditQuestion Undocumented
Class ViewQuestion Undocumented
Class ViewQuestionMessage Undocumented
Class ModerateQuestionMessage No class docstring; 1/1 methods documented
Class AppendFAQTarget No class docstring; 1/1 methods documented
Class EditFAQ No class docstring; 1/1 methods documented
Class DeleteFAQ Undocumented
Function can_edit_team Return True if the given user has edit rights for the given team.
Class ViewNameBlacklist Undocumented
Class EditNameBlacklist Undocumented
Class ViewNameBlacklistSet Undocumented
Class EditNameBlacklistSet Undocumented
Class ViewLanguageSet Anyone can view an ILangaugeSet.
Class AdminLanguageSet Undocumented
Class ViewLanguage Anyone can view an ILangauge.
Class AdminLanguage Undocumented
Class AdminCustomLanguageCode Controls administration for a custom language code.
Class AccessBranch Controls visibility of branches.
Class EditBranch The owner or admins can edit branches.
Class ModerateBranch The owners, product owners, and admins can moderate branches.
Function can_upload_linked_package True if person may upload the package linked to branch.
Class AdminBranch The admins can administer branches.
Class ViewGitRepository Controls visibility of Git repositories.
Class EditGitRepository The owner or admins can edit Git repositories.
Class ModerateGitRepository The owners, project owners, and admins can moderate Git repositories.
Class AdminGitRepository The admins can administer Git repositories.
Class ViewGitRef Anyone who can see a Git repository can see references within it.
Class EditGitRef Anyone who can edit a Git repository can edit references within it.
Class ViewGitRule Anyone who can see a Git repository can see its access rules.
Class EditGitRule Anyone who can edit a Git repository can edit its access rules.
Class ViewGitRuleGrant Anyone who can see a Git repository can see its access grants.
Class EditGitRuleGrant Anyone who can edit a Git repository can edit its access grants.
Class ViewGitActivity Anyone who can see a Git repository can see its activity logs.
Class AdminDistroSeriesTranslations No class docstring; 1/1 methods documented
Class AdminDistributionSourcePackageTranslations DistributionSourcePackage objects link to a distribution.
Class AdminProductSeriesTranslations No class docstring; 1/1 methods documented
Class BranchMergeProposalView No class docstring; 2/4 methods documented
Class PreviewDiffView Undocumented
Class CodeReviewVoteReferenceView Undocumented
Class CodeReviewVoteReferenceEdit No class docstring; 1/2 methods documented
Class CodeReviewCommentView Undocumented
Class CodeReviewCommentDelete Undocumented
Class BranchMergeProposalEdit No class docstring; 1/1 methods documented
Class AdminDistroSeriesLanguagePacks No class docstring; 1/1 methods documented
Class AdminLanguagePack Undocumented
Class ViewHWSubmission No class docstring; 1/2 methods documented
Class EditHWSubmission Undocumented
Class ViewHWDBBase Base class to restrict access to HWDB data to members of the HWDB team.
Class ViewHWDriver Undocumented
Class ViewHWDriverName Undocumented
Class ViewHWDriverPackageName Undocumented
Class ViewHWVendorID Undocumented
Class ViewHWDevice Undocumented
Class ViewHWSubmissionDevice Undocumented
Class ViewHWDBApplication Undocumented
Class ViewHWDeviceClass Undocumented
Class ViewArchive Restrict viewing of private archives.
Class SubscriberViewArchive Restrict viewing of private archives.
Class LimitedViewArchive Restricted existence knowledge of private archives.
Class EditArchive Restrict archive editing operations.
Class AppendArchive Restrict appending (upload and copy) operations on archives.
Class ModerateArchive Restrict changing the build score on archives.
Class AdminArchive Restrict changing privacy and build settings on archives.
Class ViewArchiveAuthToken Restrict viewing of archive tokens.
Class EditArchiveAuthToken Restrict editing of archive tokens.
Class ViewPersonalArchiveSubscription Restrict viewing of personal archive subscriptions (non-db class).
Class ViewArchiveSubscriber Restrict viewing of archive subscribers.
Class EditArchiveSubscriber Restrict editing of archive subscribers.
Class ViewSourcePackageRecipe Undocumented
Class DeleteSourcePackageRecipe Undocumented
Class ViewSourcePackageRecipeBuild Undocumented
Class ViewSourcePackagePublishingHistory Restrict viewing of source publications.
Class EditPublishing Restrict editing of source and binary packages..
Class ViewBinaryPackagePublishingHistory Restrict viewing of binary publications.
Class ViewBinaryPackageReleaseDownloadCount Restrict viewing of binary package download counts.
Class ViewSourcePackageRelease Restrict viewing of source packages.
Class ViewEmailAddress No class docstring; 2/2 methods documented
Class EditEmailAddress Undocumented
Class ViewGPGKey Undocumented
Class ViewSSHKey Undocumented
Class ViewIrcID Undocumented
Class ViewWikiName Undocumented
Class ViewPackageset Anyone can view an IPackageset.
Class EditPackageset No class docstring; 1/1 methods documented
Class ModeratePackageset Undocumented
Class EditPackagesetSet No class docstring; 1/1 methods documented
Class EditLibraryFileAliasWithParent No class docstring; 1/1 methods documented
Class ViewLibraryFileAliasWithParent Authorization class for viewing LibraryFileAliass having a parent.
Class SetMessageVisibility No class docstring; 1/1 methods documented
Class ViewPublisherConfig Undocumented
Class EditSourcePackage No class docstring; 1/1 methods documented
Class ViewLiveFS Undocumented
Class EditLiveFS Undocumented
Class ModerateLiveFS Restrict changing the build score on live filesystems.
Class AdminLiveFS Restrict changing build settings on live filesystems.
Class ViewLiveFSBuild Undocumented
Class EditLiveFSBuild No class docstring; 1/1 methods documented
Class AdminLiveFSBuild Undocumented
Class ViewWebhook Webhooks can be viewed and edited by someone who can edit the target.
Class ViewWebhookDeliveryJob Webhooks can be viewed and edited by someone who can edit the target.
Class ViewSnap Private snaps are only visible to their owners and admins.
Class EditSnap Undocumented
Class AdminSnap Restrict changing build settings on snap packages.
Class ViewSnapBuildRequest Undocumented
Class ViewSnapBuild Undocumented
Class EditSnapBuild No class docstring; 1/1 methods documented
Class AdminSnapBuild Undocumented
Class ViewSnappySeries Anyone can view an ISnappySeries.
Class EditSnappySeries Undocumented
Class EditSnappySeriesSet Undocumented
def is_commercial_case(obj, user):
Is this a commercial project and the user is a commercial admin?
def can_edit_team(team, user):
Return True if the given user has edit rights for the given team.
def can_upload_linked_package(person_role, branch):
True if person may upload the package linked to branch.
API Documentation for Launchpad, generated by pydoctor at 2018-11-19 00:00:14.