l.b.b.s.StructuralSubscriptionMenuMixin : class documentation

Part of lp.bugs.browser.structuralsubscription View In Hierarchy

Known subclasses: lp.registry.browser.distribution.DistributionLinksMixin, lp.registry.browser.distributionsourcepackage.DistributionSourcePackageActionMenu, lp.registry.browser.distributionsourcepackage.DistributionSourcePackageBugsMenu, lp.registry.browser.distroseries.DistroSeriesBugsMenu, lp.registry.browser.distroseries.DistroSeriesOverviewMenu, lp.registry.browser.milestone.MilestoneLinkMixin, lp.registry.browser.pillar.PillarBugsMenu, lp.registry.browser.product.ProductEditLinksMixin, lp.registry.browser.productseries.ProductSeriesBugsMenu, lp.registry.browser.productseries.ProductSeriesOverviewMenu, lp.registry.browser.project.ProjectActionMenu, lp.registry.browser.project.ProjectBugsMenu

Mix-in class providing the subscription add/edit menu link.
Method subscribe The subscribe menu link.
Method subscribe_to_bug_mail Undocumented
Method edit_bug_mail Undocumented
Method _getSST Undocumented
Method _enabled Should the link be enabled?
def _getSST(self):
Undocumented
def subscribe(self):
The subscribe menu link.

If the user, or any of the teams they're a member of, already has a subscription to the context, the link offers to edit the subscriptions and displays the edit icon. Otherwise, the link offers to subscribe and displays the add icon.

@property
def _enabled(self):
Should the link be enabled?

True if the target uses Launchpad for bugs and the user can alter the bug subscriptions.

@enabled_with_permission('launchpad.AnyPerson')
def subscribe_to_bug_mail(self):
Undocumented
@enabled_with_permission('launchpad.AnyPerson')
def edit_bug_mail(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2018-11-19 00:00:14.