l.r.b.p.EmailAddressVisibleState : class documentation

Part of lp.registry.browser.person View In Hierarchy

The state of a person's email addresses w.r.t. the logged in user.

There are five states that describe the visibility of a person or team's addresses to a logged in user, only one will be True:

Method __init__ Set the state.
Method is_login_required Is login required to see the person or team's addresses?
Method are_none_available Does the person or team not have any email addresses?
Method are_public Are the person's or team's email addresses public to users?
Method are_hidden Are the person's or team's email addresses hidden from the user?
Method are_allowed Is the user allowed to see the person's or team's addresses?
def __init__(self, view):
Set the state.
ParametersviewThe view that provides the current user and the context (person or team). (type: LaunchpadView)
@property
def is_login_required(self):
Is login required to see the person or team's addresses?
@property
def are_none_available(self):
Does the person or team not have any email addresses?
@property
def are_public(self):
Are the person's or team's email addresses public to users?
@property
def are_hidden(self):
Are the person's or team's email addresses hidden from the user?
@property
def are_allowed(self):
Is the user allowed to see the person's or team's addresses?
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.