l.r.i.p.IPersonPublic(IPrivacy) : interface documentation

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

Known subclasses: lp.registry.interfaces.webservice.IPerson

Public attributes for a Person.

Very few attributes on a person can be public because private teams are also persons. The public attributes are generally information needed by the system to determine if the principal in the current interaction can work with the object.

Int id Undocumented
Bool is_valid_person Undocumented
Method anyone_can_join Quick check as to whether a team allows anyone to join.
Method checkAllowVisibility Is the user allowed to see the visibility field.
Method transitionVisibility Set visibility of IPerson.
Method isMergePending Is this person due to be merged with another?

Inherited from IPrivacy:

Bool private Private objects are visible to members or subscribers.
id =
Undocumented
is_valid_person =
Undocumented
def anyone_can_join():
Quick check as to whether a team allows anyone to join.
def checkAllowVisibility():
Is the user allowed to see the visibility field.
ParametersThe user.
ReturnsTrue if they can, otherwise False.
@mutator_for(visibility)
@call_with(REQUEST_USER)
@operation_parameters(copy_field(visibility))
@export_write_operation()
@operation_for_version('beta')
def transitionVisibility(visibility, user):
Set visibility of IPerson.
ParametersvisibilityThe PersonVisibility to change to.
userThe user requesting the change.
ReturnsNone.
RaisesImmutableVisibilityError when the visibility can not be changed.
def isMergePending():
Is this person due to be merged with another?
API Documentation for Launchpad, generated by pydoctor at 2019-04-19 00:00:03.